Changeset 6964 for code/branches/presentation3/src/orxonox
- Timestamp:
- May 22, 2010, 8:43:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/graphics/Model.cc
r6961 r6964 113 113 } 114 114 115 Level* level _= this->getLevel();115 Level* level = this->getLevel(); 116 116 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()); 120 120 121 121 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.