From 611d02ad43e0457d5298ee8e7616dd4e5258c4fb Mon Sep 17 00:00:00 2001 From: MiroslavR Date: Tue, 11 Oct 2016 22:16:17 +0200 Subject: [PATCH] Remove unused code --- apps/openmw/mwrender/animation.cpp | 2 -- apps/openmw/mwrender/animation.hpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/apps/openmw/mwrender/animation.cpp b/apps/openmw/mwrender/animation.cpp index e6a72f74c..6091bee71 100644 --- a/apps/openmw/mwrender/animation.cpp +++ b/apps/openmw/mwrender/animation.cpp @@ -1157,8 +1157,6 @@ namespace MWRender if (!mLightListCallback) mLightListCallback = new SceneUtil::LightListCallback; mObjectRoot->addCullCallback(mLightListCallback); - - objectRootReset(); } osg::Group* Animation::getObjectRoot() diff --git a/apps/openmw/mwrender/animation.hpp b/apps/openmw/mwrender/animation.hpp index 6c4f18a0f..b99464014 100644 --- a/apps/openmw/mwrender/animation.hpp +++ b/apps/openmw/mwrender/animation.hpp @@ -310,8 +310,6 @@ protected: */ void setObjectRoot(const std::string &model, bool forceskeleton, bool baseonly, bool isCreature); - virtual void objectRootReset() {} - /** Adds the keyframe controllers in the specified model as a new animation source. Note that the .nif * file extension will be replaced with .kf. * @note Later added animation sources have the highest priority when it comes to finding a particular animation.