Changeset 9667 for code/trunk/src/libraries/core/ClassTreeMask.cc
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (12 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/ClassTreeMask.cc
r7401 r9667 33 33 34 34 #include "ClassTreeMask.h" 35 #include " Identifier.h"35 #include "class/Identifier.h" 36 36 37 37 namespace orxonox … … 849 849 // If there is a first subclass, move the object-iterator to the first object of this class. Else go to the end 850 850 if (this->subclassIterator_ != this->subclasses_.end()) 851 this->objectIterator_ = this->subclassIterator_->first->getObjects()->begin();851 this->objectIterator_ = Context::getRootContext()->getObjectList(this->subclassIterator_->first)->begin(); 852 852 else 853 853 this->objectIterator_ = ObjectList<BaseObject>::end(); … … 881 881 // Check if there really is a next class. If yes, move the object-iterator to the first object 882 882 if (this->subclassIterator_ != this->subclasses_.end()) 883 this->objectIterator_ = this->subclassIterator_->first->getObjects()->begin();883 this->objectIterator_ = Context::getRootContext()->getObjectList(this->subclassIterator_->first)->begin(); 884 884 else 885 885 return (*this);
Note: See TracChangeset
for help on using the changeset viewer.