diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-18 00:43:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-18 01:37:50 +0300 |
commit | f860369ebf58f1ce683a587be136e2bf7dd08372 (patch) | |
tree | 58869b78f04b04c2ddc4563221afcbdc5b0c5c8c /source/blender/editors/space_node | |
parent | 49be79693c6d2e3be20b2cd0ecf81e76a7121b2f (diff) |
Manipulator: use matrix for manipulator direction
Remove type-specific axis functions.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/node_manipulators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_manipulators.c b/source/blender/editors/space_node/node_manipulators.c index db183483143..f1369fae94e 100644 --- a/source/blender/editors/space_node/node_manipulators.c +++ b/source/blender/editors/space_node/node_manipulators.c @@ -88,7 +88,7 @@ static void WIDGETGROUP_node_transform_refresh(const bContext *C, wmManipulatorG const float h = (ibuf->y > 0) ? ibuf->y : 64.0f; ED_manipulator_cage2d_transform_set_dims(cage, w, h); - WM_manipulator_set_origin(cage, origin); + WM_manipulator_set_matrix_location(cage, origin); WM_manipulator_set_flag(cage, WM_MANIPULATOR_HIDDEN, false); /* need to set property here for undo. TODO would prefer to do this in _init */ |