Changeset 6046 in orxonox.OLD for branches/spaceshipcontrol/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Dec 11, 2005, 2:42:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/lib/graphics/graphics_engine.cc
r6011 r6046 36 36 #include "class_list.h" 37 37 #include "list.h" 38 #include " model.h"38 #include "static_model.h" 39 39 #endif 40 40 using namespace std; … … 283 283 } 284 284 PRINTF(4)("Status: Using GLEW %s\n", glewGetString(GLEW_VERSION)); 285 286 } 285 } 286 287 287 288 288 /** … … 320 320 } 321 321 // REBUILDING MODELS 322 const std::list<BaseObject*>* modelList = ClassList::getList(CL_ MODEL);322 const std::list<BaseObject*>* modelList = ClassList::getList(CL_STATIC_MODEL); 323 323 if (texList != NULL) 324 324 { 325 325 std::list<BaseObject*>::const_iterator reModel; 326 326 for (reModel = modelList->begin(); reModel != modelList->end(); reModel++) 327 dynamic_cast< Model*>(*reModel)->rebuild();327 dynamic_cast<StaticModel*>(*reModel)->rebuild(); 328 328 } 329 329 #endif /* __WIN32__ */
Note: See TracChangeset
for help on using the changeset viewer.