[Bf-blender-cvs] [3d9ab0904d0] fracture_modifier-master: do not set edges of selected faces to sharp in external mode

Martin Felke noreply at git.blender.org
Mon Jun 25 16:52:55 CEST 2018


Commit: 3d9ab0904d05e9520a90ed460196baa00d202be6
Author: Martin Felke
Date:   Mon Jun 25 16:52:44 2018 +0200
Branches: fracture_modifier-master
https://developer.blender.org/rB3d9ab0904d05e9520a90ed460196baa00d202be6

do not set edges of selected faces to sharp in external mode

because in most cases only existing objects are packed into the FM mesh, and no fracturing happens,
where you want to set fracture edges to sharp.

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

M	source/blender/blenkernel/intern/fracture.c

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

diff --git a/source/blender/blenkernel/intern/fracture.c b/source/blender/blenkernel/intern/fracture.c
index 4e73eba81c8..9456cbac4be 100644
--- a/source/blender/blenkernel/intern/fracture.c
+++ b/source/blender/blenkernel/intern/fracture.c
@@ -2416,7 +2416,10 @@ static DerivedMesh *create_dm(FractureModifierData *fmd, bool doCustomData, bool
 		CDDM_calc_edges(result);
 	}
 
-	do_marking(fmd, result);
+	if (fmd->fracture_mode != MOD_FRACTURE_EXTERNAL)
+	{
+		do_marking(fmd, result);
+	}
 	
 	result->dirty |= DM_DIRTY_NORMALS;
 	CDDM_calc_normals_mapping(result);



More information about the Bf-blender-cvs mailing list