diff options
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_cloth.c | 3 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_collision.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_cloth.c b/source/blender/modifiers/intern/MOD_cloth.c index 636c465d304..0c7c701e5e5 100644 --- a/source/blender/modifiers/intern/MOD_cloth.c +++ b/source/blender/modifiers/intern/MOD_cloth.c @@ -201,8 +201,9 @@ static void freeData(ModifierData *md) ClothModifierData *clmd = (ClothModifierData *) md; if (clmd) { - if (G.debug_value > 0) + if (G.debug & G_DEBUG_SIMDATA) { 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 011635e3012..7f4a0b91dbf 100644 --- a/source/blender/modifiers/intern/MOD_collision.c +++ b/source/blender/modifiers/intern/MOD_collision.c @@ -141,8 +141,9 @@ static void deformVerts( current_time = DEG_get_ctime(ctx->depsgraph); - if (G.debug_value > 0) + if (G.debug & G_DEBUG_SIMDATA) { printf("current_time %f, collmd->time_xnew %f\n", current_time, collmd->time_xnew); + } mvert_num = mesh_src->totvert; |