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>2018-05-08 21:14:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-08 21:30:29 +0300
commitb7b59a72f3f78be61b29aa9fbb7cbe42ea4fa579 (patch)
tree49f4ddd433a2f5bbf3c642268ce45ff7ee5bdf7b /source/blender/editors/mesh/editmesh_extrude.c
parent4f213c14953c182994dc3fe65e0602032733540e (diff)
Extrude Widget: tweak draw style
Use filled circle for redo
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude.c')
-rw-r--r--source/blender/editors/mesh/editmesh_extrude.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c
index 41053d423de..8c68bb58e7c 100644
--- a/source/blender/editors/mesh/editmesh_extrude.c
+++ b/source/blender/editors/mesh/editmesh_extrude.c
@@ -404,12 +404,18 @@ static void manipulator_mesh_extrude_setup(const bContext *UNUSED(C), wmManipula
UI_GetThemeColor3fv(TH_MANIPULATOR_PRIMARY, man->axis_arrow->color);
UI_GetThemeColor3fv(TH_MANIPULATOR_SECONDARY, man->axis_redo->color);
+ man->axis_redo->color[3] = 0.3f;
+ man->axis_redo->color_hi[3] = 0.3f;
+
WM_manipulator_set_scale(man->axis_arrow, 2.0);
- WM_manipulator_set_scale(man->axis_redo, 2.0);
+ WM_manipulator_set_scale(man->axis_redo, 1.0);
RNA_enum_set(man->axis_arrow->ptr, "draw_style", ED_MANIPULATOR_ARROW_STYLE_NORMAL);
RNA_enum_set(man->axis_redo->ptr, "draw_style", ED_MANIPULATOR_GRAB_STYLE_RING_2D);
+ RNA_enum_set(man->axis_redo->ptr, "draw_options",
+ ED_MANIPULATOR_GRAB_DRAW_FLAG_FILL);
+
WM_manipulator_set_flag(man->axis_redo, WM_MANIPULATOR_DRAW_VALUE, true);
/* New extrude. */