From 826c139ef39f6b4315f0ad64ba0469d1c416a482 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 10 Nov 2017 12:41:21 +0000 Subject: [PATCH] Fixed crash in copy constructor due to copy and paste/typo. --- src/osgAnimation/RigGeometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgAnimation/RigGeometry.cpp b/src/osgAnimation/RigGeometry.cpp index 6884b6c12..1f3764b48 100644 --- a/src/osgAnimation/RigGeometry.cpp +++ b/src/osgAnimation/RigGeometry.cpp @@ -67,7 +67,7 @@ RigGeometry::RigGeometry() RigGeometry::RigGeometry(const RigGeometry& b, const osg::CopyOp& copyop) : osg::Geometry(b,copyop), _geometry(b._geometry), - _rigTransformImplementation(osg::clone(_rigTransformImplementation.get(), copyop)), + _rigTransformImplementation(osg::clone(b._rigTransformImplementation.get(), copyop)), _vertexInfluenceMap(b._vertexInfluenceMap), _needToComputeMatrix(b._needToComputeMatrix) {