- Timestamp:
- May 3, 2018, 2:47:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Masterserver_FS18/src/orxonox/graphics/Model.cc
r11889 r11930 126 126 this->detachOgreObject(this->mesh_.getEntity()); 127 127 128 this->mesh_.setMeshSource(this->getScene()->getSceneManager(), this->meshSrc_); 128 // Refuse to set empty mesh sources 129 if (this->meshSrc_ != "") 130 this->mesh_.setMeshSource(this->getScene()->getSceneManager(), this->meshSrc_); 129 131 130 132 if (this->mesh_.getEntity())
Note: See TracChangeset
for help on using the changeset viewer.