mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 06:09:42 +00:00
Add named-based Collada recognition
This commit is contained in:
parent
ba9c2c9928
commit
d065dbbefa
1 changed files with 3 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
|||
#include <components/esm3/loaddoor.hpp>
|
||||
#include <components/esm3/loadstat.hpp>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/esm3/readerscache.hpp>
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
#include <components/resource/scenemanager.hpp>
|
||||
|
@ -643,7 +644,8 @@ namespace MWRender
|
|||
{
|
||||
if (cnode->getNumChildrenRequiringUpdateTraversal() > 0
|
||||
|| SceneUtil::hasUserDescription(cnode, Constants::NightDayLabel)
|
||||
|| SceneUtil::hasUserDescription(cnode, Constants::HerbalismLabel))
|
||||
|| SceneUtil::hasUserDescription(cnode, Constants::HerbalismLabel)
|
||||
|| cnode->getName() == "Collada visual scene group")
|
||||
continue;
|
||||
else
|
||||
refnumSet->mRefnums.push_back(pair.first);
|
||||
|
|
Loading…
Reference in a new issue