Hi Lilin, You patch doesn't compile under OSG svn/trunk, I get the error:
/home/robert/OpenSceneGraph/src/osgPlugins/ive/ProxyNode.cpp: In member function ‘void ive::ProxyNode::read(ive::DataInputStream*)’: /home/robert/OpenSceneGraph/src/osgPlugins/ive/ProxyNode.cpp:181:104: error: ‘setLoadExternalReferenceFiles’ was not declared in this scope I am missing something. FYI, when introducing a new feature to the format we have bump the version number which I bumped VERSION_0045 when began merging this submission. Robert. On 1 November 2012 08:50, Lilinx <[email protected]> wrote: > ** > hello > proxynode.cpp's version is 13180 . > > ------------------------------ > Lilinx > > *发件人:* Lilinx <[email protected]> > *发送时间:* 2012-11-01 16:34 > *收件人:* OpenSceneGraph Submissions<[email protected]> > *主题:* [osg-submissions] Write ProxyNode to ive missing > LoadingExternalReferenceMode > Hello, > when writing proxyNode to ive file, we forget > "LoadingExternalReferenceMode ". > Add some code to fix this. > > if (out->getVersion() >= VERSION_0044) > { > out->writeInt(getLoadingExternalReferenceMode()); > } > > if (in->getVersion() >= VERSION_0044) > { > > setLoadExternalReferenceFiles( > (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() ); > } > > > Lilinx > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
