1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 09:15:38 +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)
{
const std::string& base = Settings::Manager::getString("xbaseanim", "Models");
const std::string base = Settings::Manager::getString("xbaseanim", "Models");
if (smodel != base && !isWerewolf)
addAnimSource(base, smodel);
@ -528,7 +528,7 @@ void NpcAnimation::updateNpcBase()
}
else
{
const std::string& base = Settings::Manager::getString("xbaseanim1st", "Models");
const std::string base = Settings::Manager::getString("xbaseanim1st", "Models");
if (smodel != base && !isWerewolf)
addAnimSource(base, smodel);

View file

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

View file

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