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

Drag and drop for NodePaths isn't "type safe" #62691

Closed
Nolkaloid opened this issue Jul 4, 2022 · 0 comments · Fixed by #62692
Closed

Drag and drop for NodePaths isn't "type safe" #62691

Nolkaloid opened this issue Jul 4, 2022 · 0 comments · Fixed by #62692

Comments

@Nolkaloid
Copy link
Contributor

Godot version

v4.0.alpha.calinou.e16242b73

System information

Arch Linux, Vulkan, Intel(R) HD Graphics 520 (SKL GT2)

Issue description

When drag and dropping nodes from the scene tree to exposed NodePaths (as implemented in #55761), nodes that aren't of the desired type can still be dropped onto the exposed property.

dragndrop.mp4

Also goes hand in hand with #62483.

Steps to reproduce

  1. Export a NodePath using @export_node_path and specify a node type
  2. Drag and drop a node of a different type on it

Minimal reproduction project

No response

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

Successfully merging a pull request may close this issue.

2 participants