UI: Add Placement Settings to the Options popover #107854

Open
Germano Cavalcante wants to merge 9 commits from mano-wii/blender:snap_menu_placement into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

9 Commits

Author SHA1 Message Date
Germano Cavalcante c82be7839f Use `align=False` 2023-09-05 16:02:20 -03:00
Germano Cavalcante d4897fe8d5 Merge remote-tracking branch 'origin/main' into snap_menu_placement 2023-09-05 15:44:49 -03:00
Germano Cavalcante 9a459d6b82 Avoid breaking the conventional vertical alignment of `use_property_split`
Most properties in Blender's interface follow the style:
Name | Value

Where the names are front-aligned and the value is back-aligned with the next properties below.

This is due to the fact that `Layout.use_property_split` is by default `True`.

Avoid breaking this convention.
2023-08-24 14:58:54 -03:00
Germano Cavalcante 7ec90c21b8 Add 'DEFAULT_CLOSE' option to 'Drag & Drop' panel 2023-08-24 14:58:54 -03:00
Germano Cavalcante 022865a21a Revert hiding Placement tool options 2023-08-24 14:58:54 -03:00
Germano Cavalcante 04db87e27f Remove "Drag & Drop" panel from Mesh Edit Options 2023-08-24 14:58:54 -03:00
Germano Cavalcante 861894f5d4 Display snap options in Measure Tool settings 2023-08-24 14:58:54 -03:00
Germano Cavalcante 8523baa088 Rename 'Placement' to 'Drag & Drop' 2023-08-24 14:58:54 -03:00
Germano Cavalcante ee92391e69 UI: move Placement Settings to the Options popover
Since a generic snap cursor was implemented (which can be used by Tools and by DragDrop), the Placement Settings are no longer properties of the "VIEW3D_OT_interactive_add" operator.

They now are part of the `ToolSettings` and can be used for:
- Drag and Drop
- Measure Tool
- Placement Tool

This makes the interface confusing, as the user doesn't know where to edit the Placement Settings for Drag and Drop.

The solution proposed in this PR is to move the Placement Settings to the Options popover (top right hand corner).
2023-08-24 14:58:54 -03:00