Skip to content

Commit

Permalink
Main: register SceneManager as container of its animations
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Aug 18, 2024
1 parent 8cd501b commit 116df7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OgreMain/src/OgreSceneManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,7 @@ Animation* SceneManager::createAnimation(const String& name, Real length)
}

Animation* pAnim = OGRE_NEW Animation(name, length);
pAnim->_notifyContainer(this);
mAnimationsList[name] = pAnim;
return pAnim;
}
Expand Down

0 comments on commit 116df7c

Please sign in to comment.