Changeset 1646 for code/branches/gui/src/core/input/InputManager.cc
- Timestamp:
- Jul 24, 2008, 10:40:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/input/InputManager.cc
r1645 r1646 429 429 (*rit).second->onLeave(); 430 430 } 431 activeStates_.clear();432 _updateActiveStates();431 //activeStates_.clear(); 432 //_updateActiveStates(); 433 433 434 434 // destroy all input states … … 438 438 } 439 439 440 stateEmpty_ = 0;441 stateCalibrator_ = 0;442 stateDetector_ = 0;440 //stateEmpty_ = 0; 441 //stateCalibrator_ = 0; 442 //stateDetector_ = 0; 443 443 444 444 // destroy the devices … … 448 448 449 449 // 0 joy sticks now 450 _redimensionLists();450 //_redimensionLists(); 451 451 452 452 OIS::InputManager::destroyInputSystem(inputSystem_); 453 inputSystem_ = 0;453 //inputSystem_ = 0; 454 454 455 455 CCOUT(3) << "Destroying done." << std::endl; … … 509 509 { 510 510 assert(state); 511 std::map<int, InputState*>::iterator it = this->activeStates_.find(state->getPriority()); 512 if (it != this->activeStates_.end()) 513 { 514 this->activeStates_.erase(it); 515 _updateActiveStates(); 516 } 511 517 inputStatesByPriority_.erase(state->getPriority()); 512 518 inputStatesByName_.erase(state->getName());
Note: See TracChangeset
for help on using the changeset viewer.