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

It is impossible to drag a root node to the canvas #264

Open
dylanmccall opened this issue Oct 11, 2024 · 0 comments
Open

It is impossible to drag a root node to the canvas #264

dylanmccall opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dylanmccall
Copy link
Contributor

What Happened

When editing BlockCode for a node in the scene, I can click and drag a node from the scene to the canvas. The block code editor remains open for the current block code node for the duration of this operation, except if I drag the root node of the scene. In only that case, the block code editor switches to an empty canvas as soon as I press the mouse button on the root node. This happens because Godot's EditorInspector.edited_node_changed signal fires on mouse down for the root node, and on mouse up for every other node. This is the same issue as godotengine/godot#78001. Ideally it will be fixed upstream, but clever workarounds are welcome in the interim.

How to Reproduce

n/a

Block Coding Plugin Version

v0.7.1

Godot Engine Version

v4.3

Operating System

Fedora Silverblue 41

Logs or command-line output

No response

Anything else?

No response

@dylanmccall dylanmccall added the bug Something isn't working label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant