From 41ee3104eeb53369bef7ee91b9aebfd82574f584 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 27 Jun 2016 15:59:42 +0100 Subject: [PATCH] Removed dead code --- src/osgPlugins/lua/LuaScriptEngine.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/osgPlugins/lua/LuaScriptEngine.cpp b/src/osgPlugins/lua/LuaScriptEngine.cpp index 9f12bc94e..1ad972678 100644 --- a/src/osgPlugins/lua/LuaScriptEngine.cpp +++ b/src/osgPlugins/lua/LuaScriptEngine.cpp @@ -4113,21 +4113,6 @@ osg::Object* LuaScriptEngine::popParameterObject() const lua_pop(_lua, 1); return object.release(); - -#if 0 - osg::ValueObject* vo = dynamic_cast(object); - if (vo) - { - GetStackValueVisitor pvv(this, -1); - vo->set(pvv); - lua_pop(_lua, pvv._numberToPop); - } - else - { - lua_pop(_lua, 1); - } -#endif - return object.release(); } void LuaScriptEngine::pushContainer(osg::Object* object, const std::string& propertyName) const