diff options
author | chai <chaifix@163.com> | 2018-12-10 11:46:29 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-10 11:46:29 +0800 |
commit | ce8e259441410aba3f2345333003032ed9c45d65 (patch) | |
tree | b28b8a30e2b30081a2f9bdbf0a142099f7a8cd6f /src/lua/modules/graphics/je_lua_particle_system.cpp | |
parent | b1dfdae7a071407ef5e2d56f2203f96e6ba6068d (diff) |
*删除shared的lua类型信息
Diffstat (limited to 'src/lua/modules/graphics/je_lua_particle_system.cpp')
-rw-r--r-- | src/lua/modules/graphics/je_lua_particle_system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_particle_system.cpp b/src/lua/modules/graphics/je_lua_particle_system.cpp index 0b348ad..0c42209 100644 --- a/src/lua/modules/graphics/je_lua_particle_system.cpp +++ b/src/lua/modules/graphics/je_lua_particle_system.cpp @@ -242,7 +242,7 @@ namespace JinEngine Sprite* spr = objSpr->getObject<Sprite>(); ps->addParticleSprite(spr); int depn = (*obj).getDependenciesCount(); - (*obj).setDependency((int)ParticleSystemDependency::DEP_SPRITES + depn, objSpr->getShared()); + (*obj).setDependency((int)ParticleSystemDependency::DEP_SPRITES + depn, objSpr); return 0; } @@ -264,7 +264,7 @@ namespace JinEngine luax_pop(L, 1); Sprite* spr = objSpr->getObject<Sprite>(); ps->addParticleSprite(spr); - (*obj).setDependency((int)ParticleSystemDependency::DEP_SPRITES + depn + i - 1, objSpr->getShared()); + (*obj).setDependency((int)ParticleSystemDependency::DEP_SPRITES + depn + i - 1, objSpr); } return 0; } |