Fixed handling of setting member variables via the Serializers when the value is the default.

Added support for more features of the osgDB::Widget class.

Fixed handling of boolean values in the Lua plugin
This commit is contained in:
Robert Osfield
2014-02-08 17:53:51 +00:00
parent 1319c2d281
commit 3dcca431a9
4 changed files with 69 additions and 10 deletions

View File

@@ -242,8 +242,7 @@ public:
if ( is.isBinary() )
{
is >> value;
if ( ParentType::_defaultValue!=value )
(object.*_setter)( value );
(object.*_setter)( value );
}
else if ( is.matchString(ParentType::_name) )
{