1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-28 08:37:12 +00:00

Move Animation::getPtr definitions to header

This commit is contained in:
elsid 2022-07-24 01:41:30 +02:00
parent 1168895bf3
commit 34fd8abf5f
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625
2 changed files with 2 additions and 12 deletions

View File

@ -535,16 +535,6 @@ namespace MWRender
mInsert->removeChild(mObjectRoot);
}
MWWorld::ConstPtr Animation::getPtr() const
{
return mPtr;
}
MWWorld::Ptr Animation::getPtr()
{
return mPtr;
}
void Animation::setActive(int active)
{
if (mSkeleton)

View File

@ -351,9 +351,9 @@ public:
/// Must be thread safe
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.
/// @see SceneUtil::Skeleton::setActive