Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2015, 6:45:20 PM (10 years ago)
Author:
landauf
Message:

no need to call get() on Weak or StrongPtr. they are automatically converted to normal pointers.

File:
1 edited

Legend:

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

    r10555 r10558  
    215215            {
    216216                this->cameraPositions_.front()->attachCamera(this->camera_);
    217                 this->currentCameraPosition_ = this->cameraPositions_.front().get();
     217                this->currentCameraPosition_ = this->cameraPositions_.front();
    218218            }
    219219            else if (this->cameraPositions_.size() > 0)
Note: See TracChangeset for help on using the changeset viewer.