diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-02-08 18:47:47 +0300 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-02-08 18:47:47 +0300 |
commit | b22dc0b8496bb3209bdcb526d1e05eaa4595e15a (patch) | |
tree | 4d45048722170a5bf584b6ed86b28d3f198f001f /source | |
parent | 0e98d2c4412966260c025e5e444a4d29d4787ee4 (diff) |
Cloth: Fixed another spring problem
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_cloth.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h index e4d64b2affa..7342b3aa24a 100644 --- a/source/blender/blenkernel/BKE_cloth.h +++ b/source/blender/blenkernel/BKE_cloth.h @@ -159,10 +159,10 @@ typedef enum /* Spring types as defined in the paper.*/ typedef enum { - CLOTH_SPRING_TYPE_STRUCTURAL = 1, - CLOTH_SPRING_TYPE_SHEAR, - CLOTH_SPRING_TYPE_BENDING, - CLOTH_SPRING_TYPE_GOAL, + CLOTH_SPRING_TYPE_STRUCTURAL = ( 1 << 1 ), + CLOTH_SPRING_TYPE_SHEAR = ( 1 << 2 ) , + CLOTH_SPRING_TYPE_BENDING = ( 1 << 3 ), + CLOTH_SPRING_TYPE_GOAL = ( 1 << 4 ), } CLOTH_SPRING_TYPES; /* SPRING FLAGS */ |