Closed azur-wolve closed 1 month ago
The godot editor can already do this a bit faster. Control shift click the topmost section's arrow you'd like to recursively collapse.
There's also an Editor setting under SceneTree. I'll take a look to see if I can find a way to perhaps write a quick snippet to interface with EditorInterface on build_complete
I'm not sure where it lives in the interface yet, but it's definitely a Tree, and so likely can be called via Tree.set_recursive_folding() and TreeItem.set_collapsed_recursive()
They're also not always unfolded. If you hold shift when collapsing the tree, it collapses all branches in the tree as well. When you build the map after doing this it won't open up the tree again until you manually do so first.
Every time a map is built all its children are unfolded letting the scene dock being a bit chaotic. So every time press go
FuncGodotMap
RMB
→ "Expand/Collapse Branch"Could be an option on the map to let it collapse by default?