hello,
  It's me  carelessness.
       See the new attach file.
       proxynode.cpp version is 13180 .
 



Lilinx

发件人: Robert Osfield
发送时间: 2012-11-02 01:22
收件人: OpenSceneGraph Submissions
主题: Re: [osg-submissions] Write ProxyNode to ive 
missingLoadingExternalReferenceMode
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
发送时间: 2012-11-01 16:34
收件人: OpenSceneGraph Submissions
主题: [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

Attachment: ProxyNode.cpp
Description: Binary data

Attachment: ProxyNode.patch
Description: Binary data

Attachment: IveVersion.h
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to