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
"
This commit is contained in:
Robert Osfield
2014-04-07 13:52:01 +00:00
parent ac380e03c4
commit 88aa9ac5de

View File

@@ -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)
{