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

remove_and_skip removes the children when their owner is null #56905

Closed
LoneDespair opened this issue Jan 18, 2022 · 1 comment · Fixed by #64412
Closed

remove_and_skip removes the children when their owner is null #56905

LoneDespair opened this issue Jan 18, 2022 · 1 comment · Fixed by #64412

Comments

@LoneDespair
Copy link

Godot version

3.3.3.stable

System information

Windows 10

Issue description

Calling remove_and_skip removes children too, if they don't have a set owner
Even if the current node have a parent

Steps to reproduce

Add a parent node
Add a target node
add_child its children

remove_and_skip the target node, its children gets removed too

Minimal reproduction project

No response

@LoneDespair LoneDespair changed the title remove_and_skip deletes the node when the owner is null remove_and_skip removes the children when their owner is null Jan 18, 2022
@Calinou
Copy link
Member

Calinou commented Jan 18, 2022

@LoneDespair Please upload a minimal reproduction project to make this easier to troubleshoot.

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.

3 participants