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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user