Changeset 1627 for code/trunk/src/orxonox/tools
- Timestamp:
- Jun 26, 2008, 7:00:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/tools/Mesh.h
r1558 r1627 52 52 53 53 inline void setVisible(bool visible) 54 { this->entity_->setVisible(visible); }54 { if (this->entity_) this->entity_->setVisible(visible); } 55 55 inline bool getVisible() const 56 { return this->entity_->getVisible(); }56 { if (this->entity_) return this->entity_->getVisible(); else return false; } 57 57 58 58 private:
Note: See TracChangeset
for help on using the changeset viewer.