Remove unused code

This commit is contained in:
MiroslavR 2016-10-11 22:16:17 +02:00
parent 1906d96064
commit 611d02ad43
2 changed files with 0 additions and 4 deletions

View file

@ -1157,8 +1157,6 @@ namespace MWRender
if (!mLightListCallback) if (!mLightListCallback)
mLightListCallback = new SceneUtil::LightListCallback; mLightListCallback = new SceneUtil::LightListCallback;
mObjectRoot->addCullCallback(mLightListCallback); mObjectRoot->addCullCallback(mLightListCallback);
objectRootReset();
} }
osg::Group* Animation::getObjectRoot() osg::Group* Animation::getObjectRoot()

View file

@ -310,8 +310,6 @@ protected:
*/ */
void setObjectRoot(const std::string &model, bool forceskeleton, bool baseonly, bool isCreature); 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 /** Adds the keyframe controllers in the specified model as a new animation source. Note that the .nif
* file extension will be replaced with .kf. * file extension will be replaced with .kf.
* @note Later added animation sources have the highest priority when it comes to finding a particular animation. * @note Later added animation sources have the highest priority when it comes to finding a particular animation.