Changeset 10195 for code/trunk/src/libraries/tools/DebugDrawer.cc
- Timestamp:
- Jan 13, 2015, 10:54:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/tools/DebugDrawer.cc
r10194 r10195 15 15 #include <OgreManualObject.h> 16 16 #include <OgreAxisAlignedBox.h> 17 18 #include "util/Output.h"19 17 20 18 #define DEFAULT_ICOSPHERE_RECURSION_LEVEL 1 … … 402 400 manualObject->index(*i); 403 401 } 402 else 403 manualObject->index(0); // this is necessary to avoid crashes with ogre 1.7 if there's a light source in the level 404 404 manualObject->end(); 405 405 … … 417 417 manualObject->index(*i); 418 418 } 419 else 420 manualObject->index(0); // this is necessary to avoid crashes with ogre 1.7 if there's a light source in the level 419 421 manualObject->end(); 420 422 }
Note: See TracChangeset
for help on using the changeset viewer.