Hi Robert,
your changes are working as expected.
Thank you!
Cheers,
Torben
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=36590#36590
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
My osgGa::NodeTrackerManipulator crashes if it is activated before
setTrackNode(..) is called.
Do I make a mistake or is the NodeTrackerManipulator not secured against
activation prior to a well defined node to track?
Thank you!
Cheers,
Torben
--
Read this topic online
Hi Torben,
The manipulator shouldn't crash so this will be bug due to an
assumption of having a valid nodepath somewhere in the code.
Do you have a stack trace for the crash? Which version of the OSG are
you using?
Robert.
On Fri, Feb 11, 2011 at 8:28 AM, Torben Dannhauer
Hi Robert,
The stack trace is:
Code:
osg71-osgGAd.dll!std::_Vector_const_iteratorosg::Node
*,std::allocatorosg::Node * ::operator+=(int _Off=-1) Zeile 161 + 0x60
Bytes C++
osg71-osgGAd.dll!std::_Vector_iteratorosg::Node
*,std::allocatorosg::Node * ::operator+=(int _Off=-1)
Hi Torben Mourad,
I have added a check against the getNodePath() being empty() to
computeNodeCenterAndRotation() method and checked it into svn/trunk.
The relevant code now looks like:
osg::NodePath nodePath;
if (_trackNodePath.getNodePath(nodePath) !nodePath.empty())
5 matches
Mail list logo