@ -59,7 +59,8 @@ public:
};
RigGeometry::RigGeometry()
: mFirstFrame(true)
: mSkeleton(NULL)
, mFirstFrame(true)
, mBoundsFirstFrame(true)
{
setCullCallback(new UpdateRigGeometry);
@ -69,6 +70,7 @@ RigGeometry::RigGeometry()
RigGeometry::RigGeometry(const RigGeometry ©, const osg::CopyOp ©op)
: osg::Geometry(copy, copyop)
, mSkeleton(NULL)
, mInfluenceMap(copy.mInfluenceMap)
, mFirstFrame(copy.mFirstFrame)
, mBoundsFirstFrame(copy.mBoundsFirstFrame)
@ -46,7 +46,7 @@ namespace SceneUtil
private:
osg::ref_ptr<osg::Geometry> mSourceGeometry;
osg::ref_ptr<Skeleton> mSkeleton;
Skeleton* mSkeleton;
osg::ref_ptr<InfluenceMap> mInfluenceMap;