Commit: 74c3ebad12c0d2aac9de35861c18f523f280ae4a
Author: Campbell Barton
Date:   Thu Aug 27 17:36:43 2015 +1000
Branches: master
https://developer.blender.org/rB74c3ebad12c0d2aac9de35861c18f523f280ae4a

Fix T45920: Loopcut w/ shrinkwrap crash

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

M       source/blender/editors/mesh/editmesh_loopcut.c

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

diff --git a/source/blender/editors/mesh/editmesh_loopcut.c 
b/source/blender/editors/mesh/editmesh_loopcut.c
index 50257d2..c612ebf 100644
--- a/source/blender/editors/mesh/editmesh_loopcut.c
+++ b/source/blender/editors/mesh/editmesh_loopcut.c
@@ -430,8 +430,9 @@ static void ringsel_finish(bContext *C, wmOperator *op)
                                           cuts, seltype, SUBD_CORNER_PATH, 0, 
true,
                                           use_only_quads, 0);
 
-                       /* when used in a macro tessface is already 
re-recalculated */
-                       EDBM_update_generic(em, (is_macro == false), true);
+                       /* when used in a macro the tessfaces will be 
recalculated anyway,
+                        * this is needed here because modifiers depend on 
updated tessellation, see T45920 */
+                       EDBM_update_generic(em, true, true);
 
                        if (is_single) {
                                /* de-select endpoints */

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

Reply via email to