diff options
-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 */ |