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

Copy/Pasting foreign node behaviour is incorrect #83594

Closed
SaracenOne opened this issue Oct 19, 2023 · 0 comments · Fixed by #83596
Closed

Copy/Pasting foreign node behaviour is incorrect #83594

SaracenOne opened this issue Oct 19, 2023 · 0 comments · Fixed by #83596

Comments

@SaracenOne
Copy link
Member

Godot version

f8818f8

System information

Windows 11

Issue description

Currently, the behaviour of the node copy-pasting with respect to certain foreign nodes is incorrect. Given certain scene composition, you can copy paste and node and the ownership of that node will be corrupted; top-level nodes should ALWAYS be assigned as owned by the edited scene, but it is currently possible to copy-paste a foreign node and end up with another foreign node.

Steps to reproduce

Open the example project
Copy one of the lowest level nodes called BaseNode
Paste it onto another BaseNode
The new node should appear yellow, which is incorrect.

Minimal reproduction project

scene_composition.zip

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

Successfully merging a pull request may close this issue.

1 participant