Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-01-16 03:29:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-16 03:37:52 +0300
commitfef7b792e7637b4dcdc4b67629c523782c47beb4 (patch)
treec5782109fc4ec8abb038eb732b1f27065f31850e /source/blender/editors/space_view3d
parentcdfa3feb911164118fcc5b574b3e1a35c8f99c72 (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')
-rw-r--r--source/blender/editors/space_view3d/view3d_placement.c8
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);