diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-17 08:32:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-17 08:32:47 +0300 |
commit | a56de26704e653f71d6c0a289070117b02263270 (patch) | |
tree | 906e359f73a3d08241ee5d0f251c3bd6d4c46ed1 /source/blender/editors/include/ED_manipulator_library.h | |
parent | 865bf8ecbc1cf3aac3107cbb70b2e94d8e239adc (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/include/ED_manipulator_library.h')
-rw-r--r-- | source/blender/editors/include/ED_manipulator_library.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_manipulator_library.h b/source/blender/editors/include/ED_manipulator_library.h index 7d92f4311d4..8d74ed941d0 100644 --- a/source/blender/editors/include/ED_manipulator_library.h +++ b/source/blender/editors/include/ED_manipulator_library.h @@ -119,7 +119,10 @@ enum { void ED_manipulator_dial3d_set_style(struct wmManipulator *mpr, int style); void ED_manipulator_dial3d_set_up_vector( struct wmManipulator *mpr, const float direction[3]); - +void ED_manipulator_dial3d_set_start_vector( + struct wmManipulator *mpr, const bool enabled, const float direction[3]); +void ED_manipulator_dial3d_set_double_helper( + struct wmManipulator *mpr, const bool enabled); /* -------------------------------------------------------------------- */ /* Grab Manipulator */ |