Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Felke <martin.felke@googlemail.com>2018-06-25 17:52:44 +0300
committerMartin Felke <martin.felke@googlemail.com>2018-06-25 17:52:44 +0300
commit3d9ab0904d05e9520a90ed460196baa00d202be6 (patch)
tree416d84c6514827e3fec628f1e7e807cdcbed108d
parent34534660bcebc5eef954bcf7e60d8c4c7072b9a3 (diff)
do not set edges of selected faces to sharp in external modefracture_modifier-master
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.
-rw-r--r--source/blender/blenkernel/intern/fracture.c5
1 files changed, 4 insertions, 1 deletions
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);