diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-17 13:16:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-17 13:16:22 +0300 |
commit | 5f9358a373cb7458e273dfd4be651e6dfaf0161a (patch) | |
tree | 3eecd4b030233ff1684797ef20623dae77f9508e /release | |
parent | ca476a638c89634c17a025eff184a81e92d13f50 (diff) |
Add Object Tool: split aspect & origin options for base/height
In practice it's common these settings shouldn't be linked for drawing
the initial (base) plane, compared with the height.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index 490a723f1a8..1b2303b6e7d 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -501,8 +501,14 @@ class _defs_view3d_add: if extra: layout.use_property_split = True layout.row().prop(props, "plane_axis", expand=True) - layout.row().prop(props, "plane_origin", expand=True) - layout.row().prop(props, "use_fixed_aspect") + + layout.label(text="Base") + layout.row().prop(props, "plane_origin_base", expand=True) + layout.row().prop(props, "plane_aspect_base", expand=True) + layout.label(text="Height") + layout.row().prop(props, "plane_origin_depth", expand=True) + layout.row().prop(props, "plane_aspect_depth", expand=True) + @ToolDef.from_fn def cube_add(): |