Fixed handling of NULL entries in osg::Geometry TexCoordArrayList and VertexAttribArrayList.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14715 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-02-25 14:55:59 +00:00
parent 213efd20ad
commit e7d41377be
3 changed files with 17 additions and 3 deletions

View File

@@ -585,7 +585,10 @@ public:
if ( os.isBinary() )
{
os << hasObject;
os.writeObject( value );
if (hasObject)
{
os.writeObject( value );
}
}
else if ( ParentType::_defaultValue!=value )
{