mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-22 00:39:41 +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/loaddoor.hpp>
|
||||||
#include <components/esm3/loadstat.hpp>
|
#include <components/esm3/loadstat.hpp>
|
||||||
|
|
||||||
|
#include <components/debug/debuglog.hpp>
|
||||||
#include <components/esm3/readerscache.hpp>
|
#include <components/esm3/readerscache.hpp>
|
||||||
#include <components/misc/resourcehelpers.hpp>
|
#include <components/misc/resourcehelpers.hpp>
|
||||||
#include <components/resource/scenemanager.hpp>
|
#include <components/resource/scenemanager.hpp>
|
||||||
|
@ -643,7 +644,8 @@ namespace MWRender
|
||||||
{
|
{
|
||||||
if (cnode->getNumChildrenRequiringUpdateTraversal() > 0
|
if (cnode->getNumChildrenRequiringUpdateTraversal() > 0
|
||||||
|| SceneUtil::hasUserDescription(cnode, Constants::NightDayLabel)
|
|| SceneUtil::hasUserDescription(cnode, Constants::NightDayLabel)
|
||||||
|| SceneUtil::hasUserDescription(cnode, Constants::HerbalismLabel))
|
|| SceneUtil::hasUserDescription(cnode, Constants::HerbalismLabel)
|
||||||
|
|| cnode->getName() == "Collada visual scene group")
|
||||||
continue;
|
continue;
|
||||||
else
|
else
|
||||||
refnumSet->mRefnums.push_back(pair.first);
|
refnumSet->mRefnums.push_back(pair.first);
|
||||||
|
|
Loading…
Reference in a new issue