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>2013-01-24 18:48:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-24 18:48:08 +0400
commit1da7d7d1a0a4297cf6b09758c01f98f50543993f (patch)
treeb527f096a58fdc5a74783f9506400b0e147b962b /source/blender/blenkernel/intern/action.c
parent5c9d1ec080c959bfe06ac17c91d5324a3c9b7349 (diff)
use bool for new code.
Diffstat (limited to 'source/blender/blenkernel/intern/action.c')
-rw-r--r--source/blender/blenkernel/intern/action.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index 1aceca0bbd5..5ccf9146440 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -1118,18 +1118,18 @@ void BKE_pose_rest(bPose *pose)
}
/* both poses should be in sync */
-int BKE_pose_copy_result(bPose *to, bPose *from)
+bool BKE_pose_copy_result(bPose *to, bPose *from)
{
bPoseChannel *pchanto, *pchanfrom;
if (to == NULL || from == NULL) {
printf("Pose copy error, pose to:%p from:%p\n", (void *)to, (void *)from); /* debug temp */
- return 0;
+ return false;
}
if (to == from) {
printf("BKE_pose_copy_result source and target are the same\n");
- return 0;
+ return false;
}
@@ -1153,7 +1153,7 @@ int BKE_pose_copy_result(bPose *to, bPose *from)
pchanto->protectflag = pchanfrom->protectflag;
}
}
- return 1;
+ return true;
}
/* For the calculation of the effects of an Action at the given frame on an object