Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6056 for code/trunk/src


Ignore:
Timestamp:
Nov 13, 2009, 11:23:54 AM (15 years ago)
Author:
scheusso
Message:

OrxonoxOverlay now correctly deregisters in it's old OverlayGroup if it joins a new OverlayGroup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/OrxonoxOverlay.h

    r5980 r6056  
    4343#include "core/BaseObject.h"
    4444#include "core/WindowEventListener.h"
     45#include "OverlayGroup.h"
    4546
    4647namespace orxonox
     
    173174            if (group != this->group_)
    174175            {
     176                if(this->group_)
     177                    this->group_->removeElement(this);
    175178                this->group_ = group;
    176179                this->changedOverlayGroup();
Note: See TracChangeset for help on using the changeset viewer.