mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-31 10:20:13 +00:00
Move Animation::getPtr definitions to header
This commit is contained in:
parent
1168895bf3
commit
34fd8abf5f
@ -535,16 +535,6 @@ namespace MWRender
|
|||||||
mInsert->removeChild(mObjectRoot);
|
mInsert->removeChild(mObjectRoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
MWWorld::ConstPtr Animation::getPtr() const
|
|
||||||
{
|
|
||||||
return mPtr;
|
|
||||||
}
|
|
||||||
|
|
||||||
MWWorld::Ptr Animation::getPtr()
|
|
||||||
{
|
|
||||||
return mPtr;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Animation::setActive(int active)
|
void Animation::setActive(int active)
|
||||||
{
|
{
|
||||||
if (mSkeleton)
|
if (mSkeleton)
|
||||||
|
@ -351,9 +351,9 @@ public:
|
|||||||
/// Must be thread safe
|
/// Must be thread safe
|
||||||
virtual ~Animation();
|
virtual ~Animation();
|
||||||
|
|
||||||
MWWorld::ConstPtr getPtr() const;
|
MWWorld::ConstPtr getPtr() const { return mPtr; }
|
||||||
|
|
||||||
MWWorld::Ptr getPtr();
|
MWWorld::Ptr getPtr() { return mPtr; }
|
||||||
|
|
||||||
/// Set active flag on the object skeleton, if one exists.
|
/// Set active flag on the object skeleton, if one exists.
|
||||||
/// @see SceneUtil::Skeleton::setActive
|
/// @see SceneUtil::Skeleton::setActive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user