Changeset 10525 for code/branches/core7/src/libraries
- Timestamp:
- Jun 4, 2015, 11:09:40 PM (9 years ago)
- Location:
- code/branches/core7/src/libraries/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/Core.cc
r10524 r10525 361 361 orxout(internal_info) << "unloading graphics in Core" << endl; 362 362 363 if (this->graphicsManager_) 364 this->graphicsManager_->unloadDebugOverlay(); 365 363 366 safeObjectDelete(&graphicsScope_); 364 367 safeObjectDelete(&guiManager_); -
code/branches/core7/src/libraries/core/GraphicsManager.cc
r10509 r10525 141 141 orxout(internal_status) << "destroying GraphicsManager..." << endl; 142 142 143 Loader::getInstance().unload(debugOverlay_.get());144 145 143 Ogre::WindowEventUtilities::removeWindowEventListener(renderWindow_, ogreWindowEventListener_); 146 144 ModifyConsoleCommand(__CC_printScreen_name).resetFunction(); … … 332 330 debugOverlay_.reset(new XMLFile("debug.oxo")); 333 331 Loader::getInstance().load(debugOverlay_.get(), ClassTreeMask(), false); 332 } 333 334 void GraphicsManager::unloadDebugOverlay() 335 { 336 Loader::getInstance().unload(debugOverlay_.get()); 334 337 } 335 338 -
code/branches/core7/src/libraries/core/GraphicsManager.h
r9675 r10525 95 95 void upgradeToGraphics(); 96 96 void loadDebugOverlay(); 97 void unloadDebugOverlay(); 97 98 bool rendererLoaded() const { return renderWindow_ != NULL; } 98 99
Note: See TracChangeset
for help on using the changeset viewer.