Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 10, 2008, 4:34:20 PM (16 years ago)
Author:
landauf
Message:

added boolean bApplyLoaderMask to the XMLPortObject macro to determine whether the ClassTreeMask from the Loader should be applied or not (the idea is: objects included in excluded objects are excluded too, no matter what the mask sais. but objects included in a namespace or directly in a level-file are filtered by the mask.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/Loader.cc

    r877 r878  
    3333#include "Debug.h"
    3434#include "CoreIncludes.h"
     35#include "Namespace.h"
    3536
    3637#include "util/tinyxml/ticpp.h"
     
    120121                if (identifier)
    121122                {
    122                     if (Loader::currentMask_s.isIncluded(identifier))
     123                    if (identifier->isA(Class(Namespace)) || Loader::currentMask_s.isIncluded(identifier))
    123124                    {
    124125                        COUT(4) << "  fabricating " << child->Value() << "..." << std::endl;
Note: See TracChangeset for help on using the changeset viewer.