Fixed crash in copy constructor due to copy and paste/typo.

This commit is contained in:
Robert Osfield
2017-11-10 12:41:21 +00:00
parent cca35390ad
commit 826c139ef3

View File

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