Hi, when i run the osgkeyboardmouse example in OSG2.2.0 with "fountain.osg" 
model, it was quite right in "LineSegmentIntersector" mode, but while i pressd 
the 'P' key to switch to "PolytopeIntersector", then it was terminated by 
assert! But, when i run it with "cow.osg" model or else, it was OK, i found 
that the problem was caused here:       
" parent = 
(nodePath.size()>=2)?dynamic_cast<osg::Group*>(nodePath[nodePath.size()-2]):0; "
but i could not work it out, please have a check with that, thanks.....

2008-03-20 



Kama 

<<14.gif>>

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

Reply via email to