diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-11-14 18:48:01 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:08 +0300 |
commit | 325990ff6e57bfbac9c3aab5d12f13670f9ef246 (patch) | |
tree | 9b7bcd29864dd5cd1e5a937fa214e25dbb88baea /source/blender/makesdna/DNA_cloth_types.h | |
parent | faa112cd27bbce2498910e551373a37437513f7a (diff) |
Use dedicated debug values in cloth settings instead of abusing unused
other values.
Conflicts:
source/blender/physics/intern/BPH_mass_spring.cpp
Diffstat (limited to 'source/blender/makesdna/DNA_cloth_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_cloth_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_cloth_types.h b/source/blender/makesdna/DNA_cloth_types.h index 3144dadb680..a665c22f2a0 100644 --- a/source/blender/makesdna/DNA_cloth_types.h +++ b/source/blender/makesdna/DNA_cloth_types.h @@ -76,6 +76,12 @@ typedef struct ClothSimSettings { float shrink_min; /* min amount to shrink cloth by 0.0f (no shrink) - 1.0f (shrink to nothing) */ float shrink_max; /* max amount to shrink cloth by 0.0f (no shrink) - 1.0f (shrink to nothing) */ + /* XXX generic debug values, could be done nicer as id props */ + float debug1; + float debug2; + int debug3; + int debug4; + /* XXX various hair stuff * should really be separate, this struct is a horrible mess already */ |