Merge pull request #84995 from Bitlytic/reparent-center

Add an option to center children around the new parent when reparenting
This commit is contained in:
Rémi Verschelde 2024-02-14 14:07:50 +01:00
commit d3f64bf2d2
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 60 additions and 0 deletions

View file

@ -220,6 +220,9 @@
<member name="docks/scene_tree/auto_expand_to_selected" type="bool" setter="" getter="">
If [code]true[/code], the scene tree dock will automatically unfold nodes when a node that has folded parents is selected.
</member>
<member name="docks/scene_tree/center_node_on_reparent" type="bool" setter="" getter="">
If [code]true[/code], new node created when reparenting node(s) will be positioned at the average position of the selected node(s).
</member>
<member name="docks/scene_tree/start_create_dialog_fully_expanded" type="bool" setter="" getter="">
If [code]true[/code], the Create dialog (Create New Node/Create New Resource) will start with all its sections expanded. Otherwise, sections will be collapsed until the user starts searching (which will automatically expand sections as needed).
</member>