Changeset 7024 for code/branches/presentation3/src
- Timestamp:
- May 30, 2010, 4:46:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/graphics/Model.cc
r7020 r7024 108 108 109 109 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() ) 111 114 { 112 setLodLevel(level->getLodInfo(this->meshSrc_)->getLodLevel());113 115 114 116 float volume = this->mesh_.getEntity()->getBoundingBox().volume();
Note: See TracChangeset
for help on using the changeset viewer.