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>2017-06-17 08:32:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-06-17 08:32:47 +0300
commita56de26704e653f71d6c0a289070117b02263270 (patch)
tree906e359f73a3d08241ee5d0f251c3bd6d4c46ed1 /source/blender/editors/mesh/editmesh_extrude.c
parent865bf8ecbc1cf3aac3107cbb70b2e94d8e239adc (diff)
Manipulator: draw options for dial
- Option to start helper angle lines based on a vector instead of the initial mouse coords (useful for bisect & spin). - Option to show 2x helper lines useful when dial is used to rotate an axis value.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude.c')
-rw-r--r--source/blender/editors/mesh/editmesh_extrude.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c
index e3c99fb4883..42683960407 100644
--- a/source/blender/editors/mesh/editmesh_extrude.c
+++ b/source/blender/editors/mesh/editmesh_extrude.c
@@ -879,6 +879,10 @@ static void manipulator_mesh_spin_update_from_op(ManipulatorSpinGroup *man)
ED_manipulator_grab3d_set_up_vector(man->translate_c, plane_no);
ED_manipulator_dial3d_set_up_vector(man->rotate_c, man->data.rotate_axis);
+
+ /* show the axis instead of mouse cursor */
+ ED_manipulator_dial3d_set_start_vector(man->rotate_c, true, plane_no);
+ ED_manipulator_dial3d_set_double_helper(man->rotate_c, true);
}
}