diff --git a/apps/openmw/mwrender/animation.cpp b/apps/openmw/mwrender/animation.cpp index 04d524c70f..2f8e8c2c73 100644 --- a/apps/openmw/mwrender/animation.cpp +++ b/apps/openmw/mwrender/animation.cpp @@ -783,7 +783,7 @@ namespace MWRender } else { - blendRules = mResourceSystem->getAnimBlendRulesManager()->getRules(blendConfigPath); + blendRules = mResourceSystem->getAnimBlendRulesManager()->getRules(blendConfigPath, blendConfigPath); } // At this point blendRules will either be nullptr or an AnimBlendRules instance with > 0 rules inside. diff --git a/components/resource/animblendrulesmanager.hpp b/components/resource/animblendrulesmanager.hpp index 79fd869954..5b167f932d 100644 --- a/components/resource/animblendrulesmanager.hpp +++ b/components/resource/animblendrulesmanager.hpp @@ -21,7 +21,7 @@ namespace Resource /// Retrieve a read-only keyframe resource by name (case-insensitive). /// @note Throws an exception if the resource is not found. osg::ref_ptr getRules( - const VFS::Path::NormalizedView path, const VFS::Path::NormalizedView overridePath = ""); + const VFS::Path::NormalizedView path, const VFS::Path::NormalizedView overridePath); void reportStats(unsigned int frameNumber, osg::Stats* stats) const override;