Changeset 878 for code/branches/core2/src/orxonox/core/XMLPort.cc
- Timestamp:
- Mar 10, 2008, 4:34:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/XMLPort.cc
r871 r878 29 29 #include "Language.h" 30 30 #include "Loader.h" 31 #include "Namespace.h" 32 #include "CoreIncludes.h" 31 33 32 34 namespace orxonox … … 65 67 { 66 68 this->bAddedDescription_ = false; 69 this->bApplyLoaderMask_ = false; 67 70 } 68 71 … … 86 89 bool XMLPortObjectContainer::identifierIsIncludedInLoaderMask(const Identifier* identifier) 87 90 { 88 return Loader::currentMask_s.isIncluded(identifier);91 return ((!this->bApplyLoaderMask_) || identifier->isA(Class(Namespace)) || Loader::currentMask_s.isIncluded(identifier)); 89 92 } 90 93 }
Note: See TracChangeset
for help on using the changeset viewer.