Don't send these type messages
On Thu, Jun 3, 2010 at 1:34 PM, Henry Delattre digi...@yahoo.fr wrote:
Hi,
Trying to save an .osgt file with an osg::Switch as root node is making a
corrupted file and I don't know why. It's working well with .osg format.
Even though it is easy to correct the file manually, I would like to fix the
bug but have no idea where to begin.
Code:
osg::Switch * root = new osg::Switch;
osg::Node * node1 = new osg::Node;
osg::Node * node2 = new osg::Node;
root-addChild( node1, true );
root-addChild( node2, false );
osgDB::writeNodeFile( *root, test-switch.osgt);
Code:
#Ascii Scene
#Version 2
#Generator OpenSceneGraph 2.9.7
osg::Switch {
UniqueID 1
Children 2 {
osg::Node {
UniqueID 2
}
osg::Node {
UniqueID 3
}
}
ValueList 2 {
TRUE FALS}
}
Here we can see the wrong formatted ValueList of osg::Switch
Thank you!
Cheers,
Henry
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28519#28519
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Vivek Dwivedi,
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org