Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2015, 11:15:28 PM (5 years ago)
Author:
landauf
Message:

removed unnecessary code - this is all done by passing the context to the BaseObject's constructor

File:
1 edited

Legend:

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

    r10555 r10562  
    6262        RegisterObject(Scene);
    6363
    64         this->setScene(StrongPtr<Scene>(this, false), OBJECTID_UNKNOWN);
     64        this->setScene(StrongPtr<Scene>(this, false), this->getObjectID());
    6565        this->bShadows_ = true;
    6666        this->bDebugDrawPhysics_ = false;
     
    316316    {
    317317        this->objects_.push_back(object);
    318         object->setScene(this, this->getObjectID());
    319318    }
    320319
Note: See TracChangeset for help on using the changeset viewer.