1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +00:00

Address feedback

This commit is contained in:
unknown 2022-08-21 19:43:29 +02:00
parent 827a2f0b77
commit 206711876d
3 changed files with 5 additions and 5 deletions

View File

@ -514,7 +514,7 @@ void NpcAnimation::updateNpcBase()
if(!is1stPerson) if(!is1stPerson)
{ {
const std::string& base = Settings::Manager::getString("xbaseanim", "Models"); const std::string base = Settings::Manager::getString("xbaseanim", "Models");
if (smodel != base && !isWerewolf) if (smodel != base && !isWerewolf)
addAnimSource(base, smodel); addAnimSource(base, smodel);
@ -528,7 +528,7 @@ void NpcAnimation::updateNpcBase()
} }
else else
{ {
const std::string& base = Settings::Manager::getString("xbaseanim1st", "Models"); const std::string base = Settings::Manager::getString("xbaseanim1st", "Models");
if (smodel != base && !isWerewolf) if (smodel != base && !isWerewolf)
addAnimSource(base, smodel); addAnimSource(base, smodel);

View File

@ -26,7 +26,7 @@ namespace SceneUtil
CopyRigVisitor(osg::ref_ptr<osg::Group> parent, std::string_view filter) CopyRigVisitor(osg::ref_ptr<osg::Group> parent, std::string_view filter)
: osg::NodeVisitor(TRAVERSE_ALL_CHILDREN) : osg::NodeVisitor(TRAVERSE_ALL_CHILDREN)
, mParent(parent) , mParent(parent)
, mFilter(std::move(filter)) , mFilter(filter)
{ {
} }

View File

@ -20,7 +20,7 @@ namespace SceneUtil
public: public:
FindByNameVisitor(std::string_view nameToFind) FindByNameVisitor(std::string_view nameToFind)
: osg::NodeVisitor(TRAVERSE_ALL_CHILDREN) : osg::NodeVisitor(TRAVERSE_ALL_CHILDREN)
, mNameToFind(std::move(nameToFind)) , mNameToFind(nameToFind)
, mFoundNode(nullptr) , mFoundNode(nullptr)
{ {
} }
@ -40,7 +40,7 @@ namespace SceneUtil
public: public:
FindByClassVisitor(std::string_view nameToFind) FindByClassVisitor(std::string_view nameToFind)
: osg::NodeVisitor(TRAVERSE_ALL_CHILDREN) : osg::NodeVisitor(TRAVERSE_ALL_CHILDREN)
, mNameToFind(std::move(nameToFind)) , mNameToFind(nameToFind)
{ {
} }