Changeset 6961 for code/branches/presentation3/src/orxonox/graphics
- Timestamp:
- May 21, 2010, 6:50:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/graphics/Model.cc
r6942 r6961 115 115 Level* level_ = this->getLevel(); 116 116 117 MeshLodInformation* lodInfo = level_->getLodInfo(this->meshSrc_); 118 119 if(lodInfo!=0) 120 setLodLevel(lodInfo->getLodLevel()); 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()); 121 120 122 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.