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

[3.x] Clicking on script in scene tree in editor takes you to 3D view instead of the script #80179

Closed
lawnjelly opened this issue Aug 2, 2023 · 2 comments

Comments

@lawnjelly
Copy link
Member

Godot version

v3.6.beta.custom_build [d5a56f0] (bug introduced today 2 Aug 2023)

System information

All

Issue description

Open editor for a scene, click on a script in the tree view. It takes you to 3D window instead of the script.

Steps to reproduce

As above.

Minimal reproduction project

N/A.

@lawnjelly
Copy link
Member Author

lawnjelly commented Aug 2, 2023

Looks like a regression from #79947 .
@timothyqiu

(I did approve the PR, but know not a great deal about this area.)

#67947 was the original PR that broke the handles.
Can we use a virtual function to determine this, so that some resources can choose to be edited by SpatialEditor? I remember now that was one of the alternatives to the blanket approach for all resources.
Or just check the type of object in that code by casting and have a list of exceptions.

@akien-mga
Copy link
Member

Fixed by #80197.

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

3 participants