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>2018-02-06 15:27:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-02-06 15:27:49 +0300
commit885d78150d092756c44519dd9fd19a4d88f02354 (patch)
treedab1c9b3ce11ee0e1611cde175d2f50ca4c0ef97 /source/blender/editors/transform/transform_manipulator.c
parent5376c739f5bf4029e0a32946e9945a732feba217 (diff)
Use eObjectMode for function arguments
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c2
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 556f47d86a7..77ad70bf146 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -520,7 +520,7 @@ static bool test_rotmode_euler(short rotmode)
return (ELEM(rotmode, ROT_MODE_AXISANGLE, ROT_MODE_QUAT)) ? 0 : 1;
}
-bool gimbal_axis(Object *ob, float gmat[3][3], const short object_mode)
+bool gimbal_axis(Object *ob, float gmat[3][3], const eObjectMode object_mode)
{
if (object_mode & OB_MODE_POSE) {
bPoseChannel *pchan = BKE_pose_channel_active(ob);