diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-08 05:08:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-08 05:08:51 +0300 |
commit | 1de61696fd2ffc9d800a2eff964045b90c9f2347 (patch) | |
tree | 612ace997afcecb7e304d32e16233ddfd5b6a395 /source/blender/editors/transform/transform_manipulator.c | |
parent | 8205a1932341834f31d5efd16cef51bc66eab9de (diff) |
Correct constraint manipulator colors
Widget show as color of constrained axis
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index e12f1b4286a..024d465e29c 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -367,22 +367,22 @@ static void manipulator_get_axis_color( case MAN_AXIS_TRANS_X: case MAN_AXIS_ROT_X: case MAN_AXIS_SCALE_X: - case MAN_AXIS_TRANS_XY: - case MAN_AXIS_SCALE_XY: + case MAN_AXIS_TRANS_YZ: + case MAN_AXIS_SCALE_YZ: UI_GetThemeColor4fv(TH_AXIS_X, r_col); break; case MAN_AXIS_TRANS_Y: case MAN_AXIS_ROT_Y: case MAN_AXIS_SCALE_Y: - case MAN_AXIS_TRANS_YZ: - case MAN_AXIS_SCALE_YZ: + case MAN_AXIS_TRANS_ZX: + case MAN_AXIS_SCALE_ZX: UI_GetThemeColor4fv(TH_AXIS_Y, r_col); break; case MAN_AXIS_TRANS_Z: case MAN_AXIS_ROT_Z: case MAN_AXIS_SCALE_Z: - case MAN_AXIS_TRANS_ZX: - case MAN_AXIS_SCALE_ZX: + case MAN_AXIS_TRANS_XY: + case MAN_AXIS_SCALE_XY: UI_GetThemeColor4fv(TH_AXIS_Z, r_col); break; case MAN_AXIS_TRANS_C: |