Added support for Lua 5.2 and osg::Object creation from within Lua scripts.

This commit is contained in:
Robert Osfield
2013-10-04 16:30:25 +00:00
parent c77dc4fe9e
commit 79e2d1309f
4 changed files with 204 additions and 14 deletions

View File

@@ -86,6 +86,10 @@ class LuaScriptEngine : public osg::ScriptEngine
bool pushParameter(osg::Object* object);
bool popParameter(osg::Object* object);
void createAndPushObject(const std::string& compoundName) const;
void pushObject(osg::Object* object) const;
protected:
void initialize();