diff --git a/apps/openmw/mwrender/animation.cpp b/apps/openmw/mwrender/animation.cpp index ae0d8a489d..0a4a1cace5 100644 --- a/apps/openmw/mwrender/animation.cpp +++ b/apps/openmw/mwrender/animation.cpp @@ -776,8 +776,8 @@ namespace MWRender blendRules = mResourceSystem->getAnimBlendRulesManager()->getRules(globalBlendConfigPath, blendConfigPath); if (blendRules == nullptr) - Log(Debug::Warning) << "Unable to find animation blending rules: '" << blendConfigPath.value() - << "' or '" << globalBlendConfigPath.value() << "'"; + Log(Debug::Warning) << "Unable to find animation blending rules: '" << yamlpath << "' or '" + << globalBlendConfigPath.value() << "'"; } else { diff --git a/apps/openmw/mwrender/animblendcontroller.cpp b/apps/openmw/mwrender/animblendcontroller.cpp index 6006250af9..684183e230 100644 --- a/apps/openmw/mwrender/animblendcontroller.cpp +++ b/apps/openmw/mwrender/animblendcontroller.cpp @@ -324,8 +324,8 @@ namespace MWRender MWRender::RotateController* rotateController = dynamic_cast(updateCb); if (rotateController) { - const osg::Quat rotate = rotateController->getRotate(); - const osg::Vec3f offset = rotateController->getOffset(); + const osg::Quat& rotate = rotateController->getRotate(); + const osg::Vec3f& offset = rotateController->getOffset(); osg::NodePathList nodepaths = node->getParentalNodePaths(rotateController->getRelativeTo()); osg::Quat worldOrient;