From 69e1df6b657430aa83ba091c0fb2e67755f3bf59 Mon Sep 17 00:00:00 2001 From: blobfish Date: Tue, 30 May 2017 18:38:25 -0400 Subject: [PATCH] examples: osgkeyboardmouse: add primitive index to LineSegmentIntersector output --- examples/osgkeyboardmouse/osgkeyboardmouse.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/osgkeyboardmouse/osgkeyboardmouse.cpp b/examples/osgkeyboardmouse/osgkeyboardmouse.cpp index 4aad0d668..f772e898e 100644 --- a/examples/osgkeyboardmouse/osgkeyboardmouse.cpp +++ b/examples/osgkeyboardmouse/osgkeyboardmouse.cpp @@ -349,7 +349,9 @@ public: if (picker->containsIntersections()) { osgUtil::LineSegmentIntersector::Intersection intersection = picker->getFirstIntersection(); - osg::notify(osg::NOTICE)<<"Picked "<=1)?nodePath[nodePath.size()-1]:0;