Added passing of existingObj parameter

This commit is contained in:
Robert Osfield 2010-11-30 12:34:06 +00:00
parent a7ff553925
commit 55749eda59

View File

@ -617,7 +617,7 @@ osg::Object* InputStream::readObject( osg::Object* existingObj )
return itr->second.get(); return itr->second.get();
} }
osg::ref_ptr<osg::Object> obj = readObjectFields( className ); osg::ref_ptr<osg::Object> obj = readObjectFields( className, existingObj );
_identifierMap[id] = obj; _identifierMap[id] = obj;