From 150944ee9e41df2ae5ee25c7845c3f5b2bd74af0 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 7 Dec 2018 11:22:59 +0800 Subject: =?UTF-8?q?*=E7=A7=81=E6=9C=89=E5=8C=96shared=20object=20template?= =?UTF-8?q?=20retain=E5=92=8Crelease?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lua/modules/graphics/je_lua_particle_system.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lua/modules/graphics/je_lua_particle_system.cpp') 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; } -- cgit v1.1-26-g67d0