From 55749eda5990fc011f826f4b5297d704add1e572 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 30 Nov 2010 12:34:06 +0000 Subject: [PATCH] Added passing of existingObj parameter --- src/osgDB/InputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/InputStream.cpp b/src/osgDB/InputStream.cpp index 04692738f..a2620896e 100644 --- a/src/osgDB/InputStream.cpp +++ b/src/osgDB/InputStream.cpp @@ -617,7 +617,7 @@ osg::Object* InputStream::readObject( osg::Object* existingObj ) return itr->second.get(); } - osg::ref_ptr obj = readObjectFields( className ); + osg::ref_ptr obj = readObjectFields( className, existingObj ); _identifierMap[id] = obj;