diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 20:29:31 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 20:32:06 +0300 |
commit | 9d9dc06014ea7f8fd186246d1e55d429c5193cb6 (patch) | |
tree | faad9521f23f32c9ce1b9331f9763c69d52bedae /source/blender/modifiers/intern/MOD_cloth.c | |
parent | 3356f3f0bb15fa50c2920e4bc428a8375b43f321 (diff) |
Made SimDebugData into a single global instance.
This way it doesn't have to be stored as DNA runtime pointers or passed
down as a function argument. Currently there is now no property or
button to enable debugging, this will be added again later.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_cloth.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_cloth.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/modifiers/intern/MOD_cloth.c b/source/blender/modifiers/intern/MOD_cloth.c index 3d5caf6570b..71a83dfa742 100644 --- a/source/blender/modifiers/intern/MOD_cloth.c +++ b/source/blender/modifiers/intern/MOD_cloth.c @@ -69,8 +69,6 @@ static void initData(ModifierData *md) return; cloth_init(clmd); - - clmd->debug_data = NULL; } static void deformVerts(ModifierData *md, Object *ob, DerivedMesh *derivedData, float (*vertexCos)[3], @@ -180,7 +178,6 @@ static void copyData(ModifierData *md, ModifierData *target) tclmd->clothObject = NULL; tclmd->hairdata = NULL; tclmd->solver_result = NULL; - tclmd->debug_data = NULL; } static bool dependsOnTime(ModifierData *UNUSED(md)) @@ -214,8 +211,6 @@ static void freeData(ModifierData *md) if (clmd->solver_result) MEM_freeN(clmd->solver_result); - - BKE_sim_debug_data_free(clmd->debug_data); } } |