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

Editable children property persists after node deletion #28861

Closed
KoBeWi opened this issue May 13, 2019 · 1 comment · Fixed by #45265
Closed

Editable children property persists after node deletion #28861

KoBeWi opened this issue May 13, 2019 · 1 comment · Fixed by #45265

Comments

@KoBeWi
Copy link
Member

KoBeWi commented May 13, 2019

Godot version:
3.1.1

Issue description:
Editable children property is stored as NodePaths in scene root and they aren't removed/updated on node move/update, which leads to unexpected results (like #20409).

Steps to reproduce:

  1. Create a scene (e.g. SceneA.tscn)
  2. Create another scene (e.g. SceneB)
  3. Create a main scene
  4. Instance SceneA
  5. Toggle editable children of SceneA
  6. Delete SceneA
  7. Instance SceneB
  8. Rename SceneB to SceneA
  9. SceneB will get editable children upon rename

Minimal reproduction project:
ReproductionProject.zip
Initial setup for point 3 in steps to reproduce.

@KoBeWi
Copy link
Member Author

KoBeWi commented Aug 7, 2020

Still valid in 241e709 like other similar issues.

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