Hi Xiaodong,
2008/7/22 Wu Xiaodong [EMAIL PROTECTED]:
Based on your opinion that the crash is a straight iterator invalidation
issue due to your add/removing
stuff from the scene graph. , can you give me some suggestions on fix the
bug?
Moving the add/remove out of the callback and into
Based on your opinion that the crash is *a straight iterator invalidation
issue due to your add/removing
stuff from the scene graph.* , can you give me some suggestions on fix the
bug? the codes was so huge that i can't paste it in mail.
Thanks a lot.
Xiaodong.
On
I debug my code once more. Your judgment was right. In the single thread,
it crashed also.
Thanks.
Xiaodong
2008/7/22 Wu Xiaodong [EMAIL PROTECTED]:
Based on your opinion that the crash is *a straight iterator
invalidation issue due to your add/removing
stuff from the scene graph.* ,
Hi Xiadong,
If you are updating StateSet/StateAttribute or Drawables/Geometry in
your update then you should mark their DataVariance to DYNAMIC so that
the draw traversal knows not to release the current frame till they
are all done.
Robert.
2008/7/18 Wu Xiaodong [EMAIL PROTECTED]:
Hi.
In my case, I added some new child-node to a group-node, then it crashed
some times;
Could the bug be fixed if i call
osg::Group::setDataVariancefile:///E:/Oil/OpenSceneGraphReferenceDocs/a01315.html#a11(
)?
thanks.
2008/7/18 Robert Osfield [EMAIL PROTECTED]:
Hi
2008/7/18 Wu Xiaodong [EMAIL PROTECTED]:
In my case, I added some new child-node to a group-node, then it crashed
some times;
Could the bug be fixed if i call osg::Group::setDataVariance ( )?
Setting DataVariance on the Group will have no effect, it only is
critical for StateSet and Drawable.
Hi.
I begin a new thread for osg::Viewer()::frame();
I create a simple scene , then call osg::Viewer::frame() ; it all
works well;
while I add some chilld-nodes to a group node, then it crashed in
frame();
Is the error generated because of the
7 matches
Mail list logo