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-04-01 04:34:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-01 08:22:28 +0400
commit617557b08ea94e2b65a1697ddf0b79651204d92b (patch)
tree50b24bab075b42fa20456140c9a9681cfb01325b /source/blender/collada
parent2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff)
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/collada')
-rw-r--r--source/blender/collada/ArmatureImporter.cpp4
-rw-r--r--source/blender/collada/collada_utils.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/collada/ArmatureImporter.cpp b/source/blender/collada/ArmatureImporter.cpp
index e65561cbf74..e2c36df564a 100644
--- a/source/blender/collada/ArmatureImporter.cpp
+++ b/source/blender/collada/ArmatureImporter.cpp
@@ -701,7 +701,7 @@ void ArmatureImporter::make_shape_keys()
KeyBlock *kb;
//insert basis key
- kb = BKE_keyblock_add_ctime(key, "Basis", FALSE);
+ kb = BKE_keyblock_add_ctime(key, "Basis", false);
BKE_key_convert_from_mesh(source_me, kb);
//insert other shape keys
@@ -715,7 +715,7 @@ void ArmatureImporter::make_shape_keys()
me->key = key;
std::string morph_name = *this->mesh_importer->get_geometry_name(me->id.name);
- kb = BKE_keyblock_add_ctime(key, morph_name.c_str(), FALSE);
+ kb = BKE_keyblock_add_ctime(key, morph_name.c_str(), false);
BKE_key_convert_from_mesh(me, kb);
//apply weights
diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp
index f5b81c6f6b0..d91689ff496 100644
--- a/source/blender/collada/collada_utils.cpp
+++ b/source/blender/collada/collada_utils.cpp
@@ -362,6 +362,6 @@ void bc_triangulate_mesh(Mesh *me)
BM_mesh_bm_from_me(bm, me, true, false, 0);
BM_mesh_triangulate(bm, quad_method, use_beauty, tag_only, NULL, NULL);
- BM_mesh_bm_to_me(bm, me, FALSE);
+ BM_mesh_bm_to_me(bm, me, false);
BM_mesh_free(bm);
}