From fef7b792e7637b4dcdc4b67629c523782c47beb4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 16 Jan 2021 11:29:57 +1100 Subject: 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. --- source/blender/editors/space_view3d/view3d_placement.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/editors') 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); -- cgit v1.2.3