Hi,
using 3.0.1 I created the following test code:
Code:
osg::ref_ptrosg::Group group = new osg::Group();
group-setName( dummy group );
auto path = destDir_ + /group.osg;
osgDB::writeNodeFile( *group, path );
osgDB::writeNodeFile( *group, path+t );
The resulting group however is entirely
Hi John,
Could you post the .osg file that is revealing this problem? I can run an
osgconv on my system and see if the problem exists in OSG-3.2.x or
svn/trunk.
It does sounds like a bug. This is OSG-3.0.1 which was the first stable
release that had the new serializers. A great deal of
Hi,
Robert, I've attached both files (or I've tried, looks like it ignores the
second attachment...)
Another interesting part is, as far as I can see, the UserData should be
serialized as well. The patch posted
http://forum.openscenegraph.org/viewtopic.php?t=5561 seems to be already in
3.0.1
Hi John,
I have ran osgconv on the file:
osgconv group.osg out.osgt
And the resulting files looks like:
#Ascii Scene
#Version 117
#Generator OpenSceneGraph 3.3.5
osg::Group {
UniqueID 1
Name dummy group
}
Which is correct. So svn/trunk works correctly w.r.t Name. I expect
OSG-3.2.x
4 matches
Mail list logo