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>2014-02-03 11:55:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-03 12:35:44 +0400
commitd900f5be55d0812eb5c7dfd3ea47020c3edafd41 (patch)
tree7d5035e3dbafdcd4988e7ed57068e48c951a989a /source/blender/blenkernel/intern/lattice.c
parenta948ae2c5167c49819241572d3aacb4e4bf5b6d7 (diff)
Code cleanup: use bools where possible
Diffstat (limited to 'source/blender/blenkernel/intern/lattice.c')
-rw-r--r--source/blender/blenkernel/intern/lattice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/lattice.c b/source/blender/blenkernel/intern/lattice.c
index 525f9107a12..8b509c77155 100644
--- a/source/blender/blenkernel/intern/lattice.c
+++ b/source/blender/blenkernel/intern/lattice.c
@@ -620,7 +620,7 @@ static int calc_curve_deform(Object *par, float co[3],
Curve *cu = par->data;
float fac, loc[4], dir[3], new_quat[4], radius;
short index;
- const int is_neg_axis = (axis > 2);
+ const bool is_neg_axis = (axis > 2);
/* to be sure, mostly after file load */
if (par->curve_cache->path == NULL) {
@@ -711,7 +711,7 @@ void curve_deform_verts(Object *cuOb, Object *target, DerivedMesh *dm, float (*v
int a;
CurveDeform cd;
int use_vgroups;
- const int is_neg_axis = (defaxis > 2);
+ const bool is_neg_axis = (defaxis > 2);
if (cuOb->type != OB_CURVE)
return;
@@ -1147,7 +1147,7 @@ void BKE_lattice_center_bounds(Lattice *lt, float cent[3])
mid_v3_v3v3(cent, min, max);
}
-void BKE_lattice_translate(Lattice *lt, float offset[3], int do_keys)
+void BKE_lattice_translate(Lattice *lt, float offset[3], bool do_keys)
{
int i, numVerts;