Commit: b3aead8fd74c46f3c3156381685c6d2bd54eb730
Author: Luca Rood
Date:   Tue Feb 14 16:43:15 2017 -0200
Branches: surface-deform-modifier
https://developer.blender.org/rBb3aead8fd74c46f3c3156381685c6d2bd54eb730

Use parenthesis for bit shifts

===================================================================

M       source/blender/modifiers/intern/MOD_surfacedeform.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_surfacedeform.c 
b/source/blender/modifiers/intern/MOD_surfacedeform.c
index d9ed1e0ec1..03ae6aab4c 100644
--- a/source/blender/modifiers/intern/MOD_surfacedeform.c
+++ b/source/blender/modifiers/intern/MOD_surfacedeform.c
@@ -97,9 +97,9 @@ enum {
 
 /* Infinite weight flags */
 enum {
-       MOD_SDEF_INFINITE_WEIGHT_ANGULAR = 1 << 0,
-       MOD_SDEF_INFINITE_WEIGHT_DIST_PROJ = 1 << 1,
-       MOD_SDEF_INFINITE_WEIGHT_DIST = 1 << 2,
+       MOD_SDEF_INFINITE_WEIGHT_ANGULAR = (1 << 0),
+       MOD_SDEF_INFINITE_WEIGHT_DIST_PROJ = (1 << 1),
+       MOD_SDEF_INFINITE_WEIGHT_DIST = (1 << 2),
 };
 
 static void initData(ModifierData *md)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to