Changeset 1192 for GTP/trunk/App/Demos/Vis/KdTreeDemo
- Timestamp:
- 08/09/06 17:08:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/KdTreeDemo/OGRE/src/TestKdTreeAppListener.cpp
r1188 r1192 208 208 209 209 int hl; 210 if (mSceneMgr->getOption("Hi ghlightLevel", &hl))210 if (mSceneMgr->getOption("HiLiteLevel", &hl)) 211 211 sHL = ": " + StringConverter::toString(hl); 212 212 else … … 373 373 mKdTreeMaxDepthInfo->setCaption(": " + StringConverter::toString(currdepth)); 374 374 int hl; 375 if (mSceneMgr->getOption("Hi ghlightLevel", &hl))375 if (mSceneMgr->getOption("HiLiteLevel", &hl)) 376 376 mHighlightLevelInfo->setCaption(": " + StringConverter::toString(hl)); 377 377 else … … 394 394 { 395 395 int hl; 396 if (mSceneMgr->getOption("Hi ghlightLevel", &hl))396 if (mSceneMgr->getOption("HiLiteLevel", &hl)) 397 397 { 398 398 if (mInputDevice->isKeyDown(KC_3)) … … 401 401 hl++; 402 402 403 if (mSceneMgr->setOption("Hi ghlightLevel", &hl))403 if (mSceneMgr->setOption("HiLiteLevel", &hl)) 404 404 mHighlightLevelInfo->setCaption(": " + StringConverter::toString(hl)); 405 405 } … … 600 600 { 601 601 int hl; 602 if (mSceneMgr->getOption("Hi ghlightLevel", &hl))602 if (mSceneMgr->getOption("HiLiteLevel", &hl)) 603 603 mHighlightLevelInfo->setCaption(": " + StringConverter::toString(hl)); 604 604 else … … 621 621 { 622 622 bool toggleShow; 623 mSceneMgr->getOption("ShowNode AABB", &toggleShow);623 mSceneMgr->getOption("ShowNodes", &toggleShow); 624 624 toggleShow = !toggleShow; 625 mSceneMgr->setOption("ShowNode AABB", &toggleShow);625 mSceneMgr->setOption("ShowNodes", &toggleShow); 626 626 mTimeUntilNextToggle = 0.2; 627 627 }
Note: See TracChangeset
for help on using the changeset viewer.