mirror of https://github.com/axmolengine/axmol.git
Fix the bugs about the particle3DTest
This commit is contained in:
parent
ef1bccd926
commit
0181a84883
|
@ -61,9 +61,8 @@ local function baseInit(self)
|
|||
local children = ps:getChildren()
|
||||
for i= 1, #children do
|
||||
local child = children[i]
|
||||
if nil ~= child then
|
||||
--UNDO
|
||||
count = count + #(child:getParticlePool():getActiveParticleList())
|
||||
if nil ~= child and nil ~= child.getAliveParticleCount then
|
||||
count = count + child:getAliveParticleCount()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue