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

Error emitting !get_viewport()->gui_is_dragging() when using set_drag_preview from a sub-window #59622

Closed
Chaosus opened this issue Mar 28, 2022 · 0 comments · Fixed by #67531

Comments

@Chaosus
Copy link
Member

Chaosus commented Mar 28, 2022

Godot version

Godot 4.0 / 7e5cd4b

System information

Windows 10

Issue description

When user try to drag something from subwindow - the error emitting at the set_drag_preview function. It's observed in a visual shader editor:

bug

I think that's because gui.dragging boolean flag does not correctly transmit from sub-window to parent.

Steps to reproduce

^^

Minimal reproduction project

Too easy to reproduce in the visual shader editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment