diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 04:34:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 08:22:28 +0400 |
commit | 617557b08ea94e2b65a1697ddf0b79651204d92b (patch) | |
tree | 50b24bab075b42fa20456140c9a9681cfb01325b /source/gameengine/Converter | |
parent | 2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff) |
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/gameengine/Converter')
-rw-r--r-- | source/gameengine/Converter/BL_ArmatureObject.cpp | 2 | ||||
-rw-r--r-- | source/gameengine/Converter/BL_BlenderDataConversion.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureObject.cpp b/source/gameengine/Converter/BL_ArmatureObject.cpp index 34d706eff03..619797a8c69 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.cpp +++ b/source/gameengine/Converter/BL_ArmatureObject.cpp @@ -114,7 +114,7 @@ void game_copy_pose(bPose **dst, bPose *src, int copy_constraint) ListBase listb; // copy all constraint for backward compatibility // BKE_copy_constraints NULLs listb, no need to make extern for this operation. - BKE_copy_constraints(&listb, &pchan->constraints, FALSE); + BKE_copy_constraints(&listb, &pchan->constraints, false); pchan->constraints= listb; } else { diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.cpp b/source/gameengine/Converter/BL_BlenderDataConversion.cpp index e604b7bf81f..4b55d73178c 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.cpp +++ b/source/gameengine/Converter/BL_BlenderDataConversion.cpp @@ -2010,7 +2010,7 @@ static KX_GameObject *gameobject_from_blenderobject( case OB_CURVE: { if (ob->curve_cache == NULL) { - BKE_displist_make_curveTypes(blenderscene, ob, FALSE); + BKE_displist_make_curveTypes(blenderscene, ob, false); } } #endif @@ -2128,7 +2128,7 @@ static void bl_ConvertBlenderObject_Single( MT_Matrix3x3 rotation; float rotmat[3][3]; - BKE_object_rot_to_mat3(blenderobject, rotmat, FALSE); + BKE_object_rot_to_mat3(blenderobject, rotmat, false); rotation.setValue3x3((float*)rotmat); MT_Vector3 scale(blenderobject->size); @@ -2142,7 +2142,7 @@ static void bl_ConvertBlenderObject_Single( ); float rotmatPrev[3][3]; - BKE_object_rot_to_mat3(blenderobject, rotmatPrev, FALSE); + BKE_object_rot_to_mat3(blenderobject, rotmatPrev, false); float eulxyz[3], eulxyzPrev[3]; mat3_to_eul(eulxyz, rotmat); |