diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-06 10:07:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-06 10:09:01 +0300 |
commit | 443904f1f4f9f0b45e4ef10ec4b5c9392559ada0 (patch) | |
tree | 2aac246c487c8b8cf7f068f4554d369005741257 /source/blender/editors/transform/transform_manipulator.c | |
parent | 2ebde4c82bd478d19a9b3116ac600e715ffc0165 (diff) |
WM: functions for assigning all manipulator callbacks
- Move callbacks into type struct.
- Rename render_3d_intersection -> draw_select.
- Add header for function signatures (needed for types and api headers).
- Add WM_manipulatormaptype_find
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index df529b0054d..c652e2e0324 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -1150,7 +1150,7 @@ static void WIDGETGROUP_manipulator_init(const bContext *UNUSED(C), wmManipulato manipulator_get_axis_constraint(axis_idx, constraint_axis); /* custom handler! */ - WM_manipulator_set_custom_handler(axis, manipulator_handler); + WM_manipulator_set_fn_handler(axis, manipulator_handler); switch(axis_idx) { case MAN_AXIS_TRANS_X: |