Added passing of existingObj parameter
This commit is contained in:
parent
a7ff553925
commit
55749eda59
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user