diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-26 01:19:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-26 01:19:55 +0300 |
commit | 70b5cec5fafc09fedb2a0cc2713565c4340a5536 (patch) | |
tree | 09ba0b7cfcc7604d26be109e1e84e07a738395da /source/blender/editors/transform/transform_manipulator.c | |
parent | 3c7355b3a2190f028904d9bc8ef8f1bb4730a238 (diff) |
Manipulator: add optional properties argument
Needed for RNA/Py API
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 02a6ead9925..0f5f2f02e84 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -1228,7 +1228,7 @@ static void WIDGETGROUP_manipulator_setup(const bContext *UNUSED(C), wmManipulat if (ot_store.translate == NULL) { ot_store.translate = WM_operatortype_find("TRANSFORM_OT_translate", true); } - ptr = WM_manipulator_set_operator(axis, ot_store.translate); + ptr = WM_manipulator_set_operator(axis, ot_store.translate, NULL); break; case MAN_AXES_ROTATE: { @@ -1245,7 +1245,7 @@ static void WIDGETGROUP_manipulator_setup(const bContext *UNUSED(C), wmManipulat } ot_rotate = ot_store.rotate; } - ptr = WM_manipulator_set_operator(axis, ot_rotate); + ptr = WM_manipulator_set_operator(axis, ot_rotate, NULL); break; } case MAN_AXES_SCALE: @@ -1253,7 +1253,7 @@ static void WIDGETGROUP_manipulator_setup(const bContext *UNUSED(C), wmManipulat if (ot_store.resize == NULL) { ot_store.resize = WM_operatortype_find("TRANSFORM_OT_resize", true); } - ptr = WM_manipulator_set_operator(axis, ot_store.resize); + ptr = WM_manipulator_set_operator(axis, ot_store.resize, NULL); break; } } |