[Bf-blender-cvs] [c1edbe79179] master: Fix mistake from last commit to solidify.
Henrik Dick
noreply at git.blender.org
Wed Apr 15 12:13:41 CEST 2020
Commit: c1edbe791794e678ab8a986b559b9c117ed7b971
Author: Henrik Dick
Date: Wed Apr 15 12:07:04 2020 +0200
Branches: master
https://developer.blender.org/rBc1edbe791794e678ab8a986b559b9c117ed7b971
Fix mistake from last commit to solidify.
While review the behaviour was changed accidentally.
Now Solidify just crashes everytime.
This is the fix for that.
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D7434
===================================================================
M source/blender/modifiers/intern/MOD_solidify_extrude.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_solidify_extrude.c b/source/blender/modifiers/intern/MOD_solidify_extrude.c
index 3ba64ce084f..1868bb17851 100644
--- a/source/blender/modifiers/intern/MOD_solidify_extrude.c
+++ b/source/blender/modifiers/intern/MOD_solidify_extrude.c
@@ -236,8 +236,8 @@ Mesh *MOD_solidify_extrude_applyModifier(ModifierData *md,
const bool do_clamp = (smd->offset_clamp != 0.0f);
const bool do_angle_clamp = do_clamp && (smd->flag & MOD_SOLIDIFY_OFFSET_ANGLE_CLAMP) != 0;
const bool do_bevel_convex = bevel_convex != 0.0f;
- const bool do_rim = (smd->flag & MOD_SOLIDIFY_RIM) == 0;
- const bool do_shell = do_rim && (smd->flag & MOD_SOLIDIFY_NOSHELL) == 0;
+ const bool do_rim = (smd->flag & MOD_SOLIDIFY_RIM) != 0;
+ const bool do_shell = !(do_rim && (smd->flag & MOD_SOLIDIFY_NOSHELL) != 0);
/* weights */
MDeformVert *dvert;
More information about the Bf-blender-cvs
mailing list