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

Entering freelook in spatial editor while opening 2D project makes mouse invisible #25491

Closed
Xrayez opened this issue Jan 30, 2019 · 2 comments
Closed

Comments

@Xrayez
Copy link
Contributor

Xrayez commented Jan 30, 2019

Godot version:
3.1.beta master

OS:
Windows 10

Issue description:
Accidentally entering freelook in spatial editor while opening 2D project makes mouse invisible, while being responsive to mouse movement and other events, uncaptured. The spatial editor is shown by default until 2D scene is loaded. Have to restart the editor to recover.

Steps to reproduce:

  1. Prepare to open any existing 2D project with a main scene defined.
  2. Open the project and be quick to enter freelook in spatial editor (clicking and holding RMB, for instance), while the project's main scene isn't loaded yet. This is easier to reproduce on medium/large sized projects when loading takes more time.
  3. When the editor switches to 2D on load, the mouse remains invisible.
@Zylann
Copy link
Contributor

Zylann commented Jan 30, 2019

The fact that the 3D viewport gained focus while Godot is loading the project sounds quite wrong...

@Xrayez
Copy link
Contributor Author

Xrayez commented Mar 4, 2019

Figured this one is more easily reproducible if you open a bunch of scenes and turn on Restore Scenes On Load. Then you'll have to restart the project, and repeat reproduction steps, loading lots of scenes should force the editor to stuck at spatial editor.

@akien-mga akien-mga added this to the 3.1 milestone Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants