[Bf-blender-cvs] [c625658] master: Fix T38567: Branch smoothing on skin modifier broken

Campbell Barton noreply at git.blender.org
Wed Feb 19 06:44:40 CET 2014


Commit: c625658a92b9aa67aa41fa7529978d675dd40c20
Author: Campbell Barton
Date:   Wed Feb 19 16:43:13 2014 +1100
https://developer.blender.org/rBc625658a92b9aa67aa41fa7529978d675dd40c20

Fix T38567: Branch smoothing on skin modifier broken

own regression when changing delete commands

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

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

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

diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c
index ca25d78..fa239ce 100644
--- a/source/blender/modifiers/intern/MOD_skin.c
+++ b/source/blender/modifiers/intern/MOD_skin.c
@@ -324,7 +324,7 @@ static int build_hull(SkinOutput *so, Frame **frames, int totframe)
 
 	BMO_op_finish(bm, &op);
 
-	BM_mesh_delete_hflag_context(bm, BM_ELEM_TAG, DEL_ONLYTAGGED);
+	BM_mesh_delete_hflag_tagged(bm, BM_ELEM_TAG, BM_EDGE | BM_FACE);
 
 	return TRUE;
 }
@@ -1430,7 +1430,7 @@ static void hull_merge_triangles(SkinOutput *so, const SkinModifierData *smd)
 
 	BLI_heap_free(heap, NULL);
 
-	BM_mesh_delete_hflag_context(so->bm, BM_ELEM_TAG, DEL_ONLYTAGGED);
+	BM_mesh_delete_hflag_tagged(so->bm, BM_ELEM_TAG, BM_EDGE | BM_FACE);
 
 }




More information about the Bf-blender-cvs mailing list