mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 09:53:50 +00:00
Leak fix
This commit is contained in:
parent
099f93f00d
commit
5de24552a8
2 changed files with 4 additions and 2 deletions
|
@ -59,7 +59,8 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
RigGeometry::RigGeometry()
|
RigGeometry::RigGeometry()
|
||||||
: mFirstFrame(true)
|
: mSkeleton(NULL)
|
||||||
|
, mFirstFrame(true)
|
||||||
, mBoundsFirstFrame(true)
|
, mBoundsFirstFrame(true)
|
||||||
{
|
{
|
||||||
setCullCallback(new UpdateRigGeometry);
|
setCullCallback(new UpdateRigGeometry);
|
||||||
|
@ -69,6 +70,7 @@ RigGeometry::RigGeometry()
|
||||||
|
|
||||||
RigGeometry::RigGeometry(const RigGeometry ©, const osg::CopyOp ©op)
|
RigGeometry::RigGeometry(const RigGeometry ©, const osg::CopyOp ©op)
|
||||||
: osg::Geometry(copy, copyop)
|
: osg::Geometry(copy, copyop)
|
||||||
|
, mSkeleton(NULL)
|
||||||
, mInfluenceMap(copy.mInfluenceMap)
|
, mInfluenceMap(copy.mInfluenceMap)
|
||||||
, mFirstFrame(copy.mFirstFrame)
|
, mFirstFrame(copy.mFirstFrame)
|
||||||
, mBoundsFirstFrame(copy.mBoundsFirstFrame)
|
, mBoundsFirstFrame(copy.mBoundsFirstFrame)
|
||||||
|
|
|
@ -46,7 +46,7 @@ namespace SceneUtil
|
||||||
|
|
||||||
private:
|
private:
|
||||||
osg::ref_ptr<osg::Geometry> mSourceGeometry;
|
osg::ref_ptr<osg::Geometry> mSourceGeometry;
|
||||||
osg::ref_ptr<Skeleton> mSkeleton;
|
Skeleton* mSkeleton;
|
||||||
|
|
||||||
osg::ref_ptr<InfluenceMap> mInfluenceMap;
|
osg::ref_ptr<InfluenceMap> mInfluenceMap;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue