aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_particle_system.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-07 11:22:59 +0800
committerchai <chaifix@163.com>2018-12-07 11:22:59 +0800
commit150944ee9e41df2ae5ee25c7845c3f5b2bd74af0 (patch)
treeea399aeb2172132855ffa2a8c9533b9870a0e9a9 /src/lua/modules/graphics/je_lua_particle_system.cpp
parentfe16b453e093d721e60be0a12219d40635b96a3a (diff)
*私有化shared object template retain和release
Diffstat (limited to 'src/lua/modules/graphics/je_lua_particle_system.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_particle_system.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/modules/graphics/je_lua_particle_system.cpp b/src/lua/modules/graphics/je_lua_particle_system.cpp
index a6c4eed..8c2e4c7 100644
--- a/src/lua/modules/graphics/je_lua_particle_system.cpp
+++ b/src/lua/modules/graphics/je_lua_particle_system.cpp
@@ -63,7 +63,7 @@ namespace JinEngine
SharedParticleSystem ps = checkPS(L);
float sx = luax_checknumber(L, 2);
float sy = luax_checknumber(L, 3);
- ps->setScale(sx, sy);
+ //ps->setScale(sx, sy);
return 0;
}
@@ -71,14 +71,14 @@ namespace JinEngine
{
SharedParticleSystem ps = checkPS(L);
bool b = luax_checkbool(L, 2);
- ps->pause(b);
+ //ps->pause(b);
return 0;
}
LUA_IMPLEMENT int l_clear(lua_State* L)
{
SharedParticleSystem ps = checkPS(L);
- ps->clear();
+ //ps->clear();
return 0;
}