Open Issues Need Help
View All on GitHub Add validation to prevent reparenting node to its own descendant about 2 months ago
AI Summary: The `reparent_node` command in `node_commands.gd` lacks validation to prevent a node from being reparented to one of its own descendants, which can cause crashes or tree corruption by creating a cycle. The proposed fix involves adding a simple `if` condition using `is_ancestor_of` to block such operations and return an error instead. This ensures tree integrity and prevents potential editor instability.
Complexity:
1/5
bug good first issue priority:medium