Changeset 13041 for OpenSceneGraph/trunk/src/osgWidget/Lua.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgWidget/Lua.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWidget/Lua.cpp
r12292 r13041 44 44 int newWidget(lua_State* L) { 45 45 osg::ref_ptr<Widget> w = new Widget("testLUA", 0.0f, 0.0f); 46 46 47 47 lua_pushstring(L, w->getName().c_str()); 48 48 … … 95 95 96 96 luaL_openlibs(_data->lua); 97 97 98 98 static const struct luaL_reg library[] = { 99 99 {"newWindow", lua::newWindow},
