From 9d9dc06014ea7f8fd186246d1e55d429c5193cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Tue, 20 Jan 2015 18:29:31 +0100 Subject: 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. --- source/blender/physics/intern/implicit_blender.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source/blender/physics/intern/implicit_blender.c') diff --git a/source/blender/physics/intern/implicit_blender.c b/source/blender/physics/intern/implicit_blender.c index ce65703901a..56ce1129cc7 100644 --- a/source/blender/physics/intern/implicit_blender.c +++ b/source/blender/physics/intern/implicit_blender.c @@ -700,8 +700,6 @@ typedef struct Implicit_Data { lfVector *z; /* target velocity in constrained directions */ fmatrix3x3 *S; /* filtering matrix for constraints */ fmatrix3x3 *P, *Pinv; /* pre-conditioning matrix */ - - struct SimDebugData *debug_data; } Implicit_Data; Implicit_Data *BPH_mass_spring_solver_create(int numverts, int numsprings) @@ -756,12 +754,6 @@ void BPH_mass_spring_solver_free(Implicit_Data *id) MEM_freeN(id); } -void BPH_mass_spring_solver_debug_data(Implicit_Data *id, struct SimDebugData *debug_data) -{ - if (id) - id->debug_data = debug_data; -} - /* ==== Transformation from/to root reference frames ==== */ BLI_INLINE void world_to_root_v3(Implicit_Data *data, int index, float r[3], const float v[3]) -- cgit v1.2.3