Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1692 for code/branches


Ignore:
Timestamp:
Aug 31, 2008, 10:27:49 PM (16 years ago)
Author:
rgrieder
Message:

bugfix in InputManager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/input/InputManager.cc

    r1672 r1692  
    637637            internalState_ &= ~JoyStickSupport;
    638638        }
    639         internalState_ |= Ticking;
    640639
    641640        // check for states to leave
     
    671670            _destroyState((*rit));
    672671        }
     672        stateDestroyRequests_.clear();
     673
     674        // mark that we capture and distribute input
     675        internalState_ |= Ticking;
    673676
    674677        // Capture all the input. This calls the event handlers in InputManager.
     
    730733        for (std::set<InputState*>::const_iterator it = tempSet.begin();it != tempSet.end(); ++it)
    731734            activeStatesTicked_.push_back(*it);
     735
     736        this->mouseButtonsDown_.clear();
    732737    }
    733738
Note: See TracChangeset for help on using the changeset viewer.