Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-06-18 00:43:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-06-18 01:37:50 +0300
commitf860369ebf58f1ce683a587be136e2bf7dd08372 (patch)
tree58869b78f04b04c2ddc4563221afcbdc5b0c5c8c /source/blender/editors/space_node
parent49be79693c6d2e3be20b2cd0ecf81e76a7121b2f (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.c2
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 */