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>2012-08-08 22:21:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-08 22:21:54 +0400
commit0b5a995cfdca70c844186a3af9b2a01fed5e5d3f (patch)
treece5f94452199af487167747b2b5ad35587053edf /source/blender/modifiers
parent5019cd179f39ee8f80829bb0d6895e494a66ffa2 (diff)
code cleanup: rename G.rt to G.debug_value
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_cloth.c2
-rw-r--r--source/blender/modifiers/intern/MOD_collision.c2
-rw-r--r--source/blender/modifiers/intern/MOD_meshdeform.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_cloth.c b/source/blender/modifiers/intern/MOD_cloth.c
index 2c38bc42a8f..dc6fef9b617 100644
--- a/source/blender/modifiers/intern/MOD_cloth.c
+++ b/source/blender/modifiers/intern/MOD_cloth.c
@@ -169,7 +169,7 @@ static void freeData(ModifierData *md)
ClothModifierData *clmd = (ClothModifierData *) md;
if (clmd) {
- if (G.rt > 0)
+ if (G.debug_value > 0)
printf("clothModifier_freeData\n");
cloth_free_modifier_extern(clmd);
diff --git a/source/blender/modifiers/intern/MOD_collision.c b/source/blender/modifiers/intern/MOD_collision.c
index 45296e322b5..b9384e6208e 100644
--- a/source/blender/modifiers/intern/MOD_collision.c
+++ b/source/blender/modifiers/intern/MOD_collision.c
@@ -132,7 +132,7 @@ static void deformVerts(ModifierData *md, Object *ob,
current_time = BKE_scene_frame_get(md->scene);
- if (G.rt > 0)
+ if (G.debug_value > 0)
printf("current_time %f, collmd->time_xnew %f\n", current_time, collmd->time_xnew);
numverts = dm->getNumVerts(dm);
diff --git a/source/blender/modifiers/intern/MOD_meshdeform.c b/source/blender/modifiers/intern/MOD_meshdeform.c
index 12209fd69fb..aafb21b3c34 100644
--- a/source/blender/modifiers/intern/MOD_meshdeform.c
+++ b/source/blender/modifiers/intern/MOD_meshdeform.c
@@ -274,7 +274,7 @@ static void meshdeformModifier_do(
/* get cage vertex in world space with binding transform */
copy_v3_v3(co, cagecos[a]);
- if (G.rt != 527) {
+ if (G.debug_value != 527) {
mul_m4_v3(mmd->bindmat, co);
/* compute difference with world space bind coord */
sub_v3_v3v3(dco[a], co, bindcagecos[a]);
@@ -324,7 +324,7 @@ static void meshdeformModifier_do(
if (totweight > 0.0f) {
mul_v3_fl(co, fac / totweight);
mul_m3_v3(icagemat, co);
- if (G.rt != 527)
+ if (G.debug_value != 527)
add_v3_v3(vertexCos[b], co);
else
copy_v3_v3(vertexCos[b], co);