Fixed handling of enums in Lua plugin.
authorRobert OSFIELD <robert.osfield@gmail.com>
Thu, 13 Feb 2014 18:52:41 +0000 (18:52 +0000)
committerRobert OSFIELD <robert.osfield@gmail.com>
Thu, 13 Feb 2014 18:52:41 +0000 (18:52 +0000)
commit02e173e94726116cd47bd1358bbe6f6a516afaf9
treede61411b7a17ff56734782f71ecdec4a9217bef7
parent1679edc7c53e6942b2e28082ad7841b63c9a9671
Fixed handling of enums in Lua plugin.

Fixed computation of getNumPrimitives() so that it returns 0 when PrimitiveSet is zero.

Added missing properties to PrimitiveSet serializers
src/osg/PrimitiveSet.cpp
src/osgPlugins/lua/LuaScriptEngine.cpp
src/osgPlugins/lua/LuaScriptEngine.h
src/osgWrappers/serializers/osg/PrimitiveSet.cpp