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/blenkernel/intern/cloth.c
parent5019cd179f39ee8f80829bb0d6895e494a66ffa2 (diff)
code cleanup: rename G.rt to G.debug_value
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r--source/blender/blenkernel/intern/cloth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c
index 74bfa0d60fc..694bb3f1afd 100644
--- a/source/blender/blenkernel/intern/cloth.c
+++ b/source/blender/blenkernel/intern/cloth.c
@@ -662,7 +662,7 @@ void cloth_free_modifier(ClothModifierData *clmd )
void cloth_free_modifier_extern(ClothModifierData *clmd )
{
Cloth *cloth = NULL;
- if (G.rt > 0)
+ if (G.debug_value > 0)
printf("cloth_free_modifier_extern\n");
if ( !clmd )
@@ -671,7 +671,7 @@ void cloth_free_modifier_extern(ClothModifierData *clmd )
cloth = clmd->clothObject;
if ( cloth ) {
- if (G.rt > 0)
+ if (G.debug_value > 0)
printf("cloth_free_modifier_extern in\n");
// If our solver provides a free function, call it
@@ -852,7 +852,7 @@ static int cloth_from_object(Object *ob, ClothModifierData *clmd, DerivedMesh *d
// If we have a clothObject, free it.
if ( clmd->clothObject != NULL ) {
cloth_free_modifier ( clmd );
- if (G.rt > 0)
+ if (G.debug_value > 0)
printf("cloth_free_modifier cloth_from_object\n");
}
@@ -1278,7 +1278,7 @@ static int cloth_build_springs ( ClothModifierData *clmd, DerivedMesh *dm )
cloth->edgehash = edgehash;
- if (G.rt > 0)
+ if (G.debug_value > 0)
printf("avg_len: %f\n", clmd->sim_parms->avg_spring_len);
return 1;