1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00
This commit is contained in:
scrawl 2015-05-26 19:12:29 +02:00
parent 099f93f00d
commit 5de24552a8
2 changed files with 4 additions and 2 deletions

View file

@ -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 &copy, const osg::CopyOp &copyop)
: osg::Geometry(copy, copyop)
, mSkeleton(NULL)
, mInfluenceMap(copy.mInfluenceMap)
, mFirstFrame(copy.mFirstFrame)
, mBoundsFirstFrame(copy.mBoundsFirstFrame)

View file

@ -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;