Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix passive mouse hovering for physics #78017

Merged

Commits on Jun 9, 2023

  1. Fix passive mouse hovering for physics

    Currently mouse hovering doesn't update the state, when collision objects
    or the camera move.
    This PR fixes this problem by taking the mouse position from the viewport
    and not from a nonexistent previous event.
    
    Since previous events could potentially be a long time ago, their
    modifier-key state might be outdated. This PR fetches the current
    status of modifier-keys from `Input`.
    
    These changes allow the removal of some class-variables and making
    additional simplifications.
    Sauermann committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    543fdc1 View commit details
    Browse the repository at this point in the history