Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2007, 11:01:25 PM (16 years ago)
Author:
landauf
Message:
  • fixed a small bug in the object hierarchy
  • new objects are now added to all class-lists they're derived from (until now they were only added to the list of their class). this means: i'm replacing the tree-structure by a mountain-one, which costs more memory but allows faster iteration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchie/src/Identifier.h

    r219 r220  
    149149                ClassFactory::add(name, pointer_s);
    150150
    151                 pointer_s->initialize(parents);
     151                if (!bRootClass)
     152                    pointer_s->initialize(parents);
     153                else
     154                    pointer_s->initialize(NULL);
    152155            }
    153156            else
Note: See TracChangeset for help on using the changeset viewer.