Changeset 931 for code/branches/core2/src/orxonox/objects
- Timestamp:
- Mar 27, 2008, 3:56:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/objects/Model.cc
r902 r931 81 81 } 82 82 83 bool Model::create(){ 84 if(meshSrc_.compare("")!=0){ 85 this->mesh_.setMesh(meshSrc_); 86 this->attachObject(this->mesh_.getEntity()); 87 COUT(4) << "Loader: Created model" << std::endl; 88 } 89 registerAllVariables(); 90 return true; 83 bool Model::create() 84 { 85 if ((this->meshSrc_ != "") && (this->meshSrc_.size() > 0)) 86 { 87 this->mesh_.setMesh(meshSrc_); 88 this->attachObject(this->mesh_.getEntity()); 89 COUT(4) << "Loader: Created model" << std::endl; 90 } 91 registerAllVariables(); 92 return true; 91 93 } 92 94
Note: See TracChangeset
for help on using the changeset viewer.