diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 02:04:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-13 02:10:19 +0300 |
commit | 1f1802307f9a3b1a09b9eb8d70dadc7c849c5e2c (patch) | |
tree | 75a1859bba472bc01d3801ce027d290adfdc8629 /source/blender/editors/space_api | |
parent | 26a6e58e9a259327fd5125095f052a42a9405320 (diff) |
Gizmo: value2d utility to adjust operator values
This allows any operator to interactively redo without having to
manually make each operator modal.
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index c811e127cfe..91dff98f906 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -140,6 +140,10 @@ void ED_spacetypes_init(void) ED_gizmotypes_blank_3d(); ED_gizmotypes_cage_2d(); ED_gizmotypes_cage_3d(); + ED_gizmotypes_value_2d(); + + /* gizmo group types */ + ED_gizmogrouptypes_value_2d(); /* register types for operators and gizmos */ spacetypes = BKE_spacetypes_list(); |