godot
godot copied to clipboard
undoing creation of nodes while renaming will cause some errors
Tested versions
- Reproduible in : 4.3.dev[2ababdcc065e76decc12747a3c84e01f7bdc90dd]
System information
macOS 13.3.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)
Issue description
when undoing the creation of a node while renaming it instead of closing the rename action the rename will prevent the nodes from being visually removed from the scene tree which in turn cause errors of ode not found.
Fortunately this does not corrupt undo history even if you finish the renaming instead of canceling it.
Steps to reproduce
- Create a scene
- add a second node
- start renaming it
- press
CTRL + Z - select the root node
- node will disappear with errors
- pressing undo here will strangely bring back the node
https://github.com/godotengine/godot/assets/66184050/f7251398-2d58-4efe-bf35-2e312729ad70
Minimal reproduction project (MRP)
N/A