From 88aa9ac5de28817379c3ad9ed47cb934ef11ba4a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 7 Apr 2014 13:52:01 +0000 Subject: [PATCH] From Bjorn Hein, "please find attached a small fix for RayIntersector.cpp. * Changes are made against trunk * Reason: crashes when using specific constructor from RayIntersector * Info: Line 42: added in constructor RayIntersector::RayIntersector(const Vec3d& start, const Vec3d& direction) missing initialisation of _parent " --- src/osgUtil/RayIntersector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgUtil/RayIntersector.cpp b/src/osgUtil/RayIntersector.cpp index b392505f1..850e947ed 100644 --- a/src/osgUtil/RayIntersector.cpp +++ b/src/osgUtil/RayIntersector.cpp @@ -39,6 +39,7 @@ RayIntersector::RayIntersector(CoordinateFrame cf, RayIntersector* parent, RayIntersector::RayIntersector(const Vec3d& start, const Vec3d& direction) : Intersector(), + _parent(0), _start(start), _direction(direction) {