[osg-users] Crash when using LineSegmentIntersector

Robert Osfield robert.osfield at gmail.com
Fri Aug 3 01:38:39 PDT 2018


Hi Sam,

I don't have time to look at build end user code today but I have had
a quick glance at the example and the first thing that jumped out as
add to me was:

    osg::ref_ptr<osg::Geode> drawable(new osg::Geode);
    drawable->setName("lnoflags");

    geode.addChild(drawable);

Adding a Geode to a Geode is a bit odd.  Why not just do
geode->setName("Inoflags");

Robert.


More information about the osg-users mailing list