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/intern/MOD_meshdeform.c
parent5019cd179f39ee8f80829bb0d6895e494a66ffa2 (diff)
code cleanup: rename G.rt to G.debug_value
Diffstat (limited to 'source/blender/modifiers/intern/MOD_meshdeform.c')
-rw-r--r--source/blender/modifiers/intern/MOD_meshdeform.c4
1 files changed, 2 insertions, 2 deletions
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);