Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7024 for code/branches


Ignore:
Timestamp:
May 30, 2010, 4:46:17 PM (14 years ago)
Author:
scheusso
Message:

accidentially disabled lod

File:
1 edited

Legend:

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

    r7020 r7024  
    108108                 
    109109                    assert( level != 0 );
    110                     if( level->getLodInfo(this->meshSrc_)!=0 && level->getLodInfo(this->meshSrc_)->getEnabled() )
     110                   
     111                    if( level->getLodInfo(this->meshSrc_)!=0 )
     112                        setLodLevel(level->getLodInfo(this->meshSrc_)->getLodLevel());
     113                    if( level->getLodInfo(this->meshSrc_)==0 || level->getLodInfo(this->meshSrc_)->getEnabled() )
    111114                    {
    112                         setLodLevel(level->getLodInfo(this->meshSrc_)->getLodLevel());
    113115
    114116                        float volume = this->mesh_.getEntity()->getBoundingBox().volume();
Note: See TracChangeset for help on using the changeset viewer.