diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-27 20:52:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-27 21:00:04 +0400 |
commit | a5c35fb27f090bb716a3bb49a69a56be80dff6d3 (patch) | |
tree | c2486c0781d2135c00ee58c78c042ba9d4f87b97 /source/blender/editors/object/object_constraint.c | |
parent | 60287e23b53a273aae56c42502278991dbeee9e7 (diff) |
Code cleanup: use booleans where appropriate
Diffstat (limited to 'source/blender/editors/object/object_constraint.c')
-rw-r--r-- | source/blender/editors/object/object_constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index 23a17f26569..244bd5c1d71 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -1171,7 +1171,7 @@ static int constraint_delete_exec(bContext *C, wmOperator *UNUSED(op)) Object *ob = ptr.id.data; bConstraint *con = ptr.data; ListBase *lb = get_constraint_lb(ob, con, NULL); - const short is_ik = ELEM(con->type, CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_SPLINEIK); + const bool is_ik = ELEM(con->type, CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_SPLINEIK); /* free the constraint */ if (BKE_remove_constraint(lb, con)) { |