Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2010, 8:43:39 PM (14 years ago)
Author:
scheusso
Message:

fix in ClassID (thanks reto)
fix in Rocket
small improvements in model
weakptr synchronisable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/orxonox/graphics/Model.cc

    r6961 r6964  
    113113                    }
    114114                   
    115                     Level* level_ = this->getLevel();
     115                    Level* level = this->getLevel();
    116116                   
    117                     // TODO: make this also working on the client (there is currently no level pointer in the baseobject on the client)
    118                     if( level_ != 0 && level_->getLodInfo(this->meshSrc_)!=0 )
    119                         setLodLevel(level_->getLodInfo(this->meshSrc_)->getLodLevel());
     117                    assert( level != 0 );
     118                    if( level->getLodInfo(this->meshSrc_)!=0 )
     119                        setLodLevel(level->getLodInfo(this->meshSrc_)->getLodLevel());
    120120                   
    121121                    COUT(4) << "Setting lodLevel for " << this->meshSrc_<< " with lodLevel_: " << this->lodLevel_ <<" and scale: "<< scaleFactor << ":" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.