diff options
-rw-r--r-- | source/blender/modifiers/intern/MOD_correctivesmooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_correctivesmooth.c b/source/blender/modifiers/intern/MOD_correctivesmooth.c index c571a881714..5e5a64ec0e6 100644 --- a/source/blender/modifiers/intern/MOD_correctivesmooth.c +++ b/source/blender/modifiers/intern/MOD_correctivesmooth.c @@ -143,7 +143,7 @@ static void mesh_get_boundaries(Mesh *mesh, float *smooth_weights) int j; for (j = 0; j < totloop; j++) { uint8_t *e_value = &boundaries[mloop[p->loopstart + j].e]; - *e_value |= (*e_value) + 1; + *e_value |= (*e_value) + (uint8_t)1; } } |