1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 12:20:41 +00:00

Merged pull request #1773

This commit is contained in:
Marc Zinnschlag 2018-06-20 19:08:50 +02:00
commit 22eb037c18
2 changed files with 8 additions and 1 deletions

View File

@ -47,6 +47,7 @@
Bug #4458: AiWander console command handles idle chances incorrectly
Bug #4459: NotCell dialogue condition doesn't support partial matches
Bug #4461: "Open" spell from non-player caster isn't a crime
Bug #4469: Abot Silt Striders Model turn 90 degrees on horizontal
Feature #3276: Editor: Search- Show number of (remaining) search results and indicate a search without any results
Feature #4222: 360° screenshots
Feature #4256: Implement ToggleBorders (TB) console command

View File

@ -100,7 +100,13 @@ namespace
void apply(osg::MatrixTransform& trans)
{
mMap[Misc::StringUtils::lowerCase(trans.getName())] = &trans;
// Take transformation for first found node in file
const std::string nodeName = Misc::StringUtils::lowerCase(trans.getName());
if (mMap.find(nodeName) == mMap.end())
{
mMap[nodeName] = &trans;
}
traverse(trans);
}