Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2015, 10:44:57 PM (9 years ago)
Author:
landauf
Message:

Loader is now a singleton instead of a static class. fixes issue with statically initialized ClassTreeMask (which again requires a BaseObject-Identifier)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/orxonox/LevelManager.cc

    r10380 r10392  
    276276                // Load the LevelInfo object from the level file.
    277277                XMLFile file = XMLFile(*it);
    278                 Loader::load(&file, mask, false, true);
     278                Loader::getInstance().load(&file, mask, false, true);
    279279
    280280                // Find the LevelInfo object we've just loaded (if there was one)
     
    284284
    285285                // We don't need the loaded stuff anymore
    286                 Loader::unload(&file);
     286                Loader::getInstance().unload(&file);
    287287
    288288                if(info == NULL)
Note: See TracChangeset for help on using the changeset viewer.