Changeset 7217 in orxonox.OLD for branches/std/src/world_entities/world_entity.cc
- Timestamp:
- Mar 12, 2006, 2:16:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/world_entities/world_entity.cc
r7216 r7217 118 118 * @param fileName the name of the model to load 119 119 * @param scaling the Scaling of the model 120 * 121 * @todo fix this, so it only has one loadModel-Function. 122 */ 120 */ 123 121 void WorldEntity::loadModel(const std::string& fileName, float scaling, unsigned int modelNumber) 124 122 { … … 152 150 if (loadedModel != NULL) 153 151 this->setModel(dynamic_cast<Model*>(loadedModel), modelNumber); 152 else 153 PRINTF(1)("OBJ-File %s not found.\n", fileName.c_str()); 154 154 155 155 if( modelNumber == 0)
Note: See TracChangeset
for help on using the changeset viewer.