diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-16 03:29:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-16 03:37:52 +0300 |
commit | fef7b792e7637b4dcdc4b67629c523782c47beb4 (patch) | |
tree | c5782109fc4ec8abb038eb732b1f27065f31850e /source/blender/editors/space_view3d/view3d_placement.c | |
parent | cdfa3feb911164118fcc5b574b3e1a35c8f99c72 (diff) |
Add Object Tool: make UI more compact
Move some of the more obscure options into a popover,
so they don't take up so much room in the top-bar.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_placement.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_placement.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_placement.c b/source/blender/editors/space_view3d/view3d_placement.c index 2bbe512222c..ab2aebe2657 100644 --- a/source/blender/editors/space_view3d/view3d_placement.c +++ b/source/blender/editors/space_view3d/view3d_placement.c @@ -1288,7 +1288,7 @@ static int view3d_interactive_add_modal(bContext *C, wmOperator *op, const wmEve ATTR_FALLTHROUGH; } case PLACE_MODAL_PIVOT_CENTER_OFF: { - ipd->step[ipd->step_index].is_centered = is_fallthrough; + ipd->step[ipd->step_index].is_centered = is_fallthrough ^ ipd->is_centered_init; do_redraw = true; break; } @@ -1584,13 +1584,13 @@ void VIEW3D_OT_interactive_add(struct wmOperatorType *ot) {PLACE_DEPTH_CURSOR_PLANE, "CURSOR_PLANE", 0, - "3D Cursor Plane", + "Cursor Plane", "Start placement using a point projected onto the selected axis at the 3D cursor position"}, {PLACE_DEPTH_CURSOR_VIEW, "CURSOR_VIEW", 0, - "3D Cursor View", - "Start placement using the mouse cursor projected onto the view plane"}, + "Cursor View", + "Start placement using the 3D cursor projected onto the view plane"}, {0, NULL, 0, NULL, NULL}, }; prop = RNA_def_property(ot->srna, "plane_depth", PROP_ENUM, PROP_NONE); |