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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-07-11 12:28:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-12 02:44:19 +0400
commit93278165937273fd0c14eb54deb1c4c25ebb1296 (patch)
tree3e0b737471bc83fd7e66ba2dcca7c5dac6073699 /source
parentdb1ab7b1505b630878e527a03b3b3e0b77f590fc (diff)
Correct error in BM_face_split_edgenet when no faces are split
Diffstat (limited to 'source')
-rw-r--r--source/blender/bmesh/intern/bmesh_mods.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mods.c b/source/blender/bmesh/intern/bmesh_mods.c
index 4d3fac4c6e5..6475b86f0fd 100644
--- a/source/blender/bmesh/intern/bmesh_mods.c
+++ b/source/blender/bmesh/intern/bmesh_mods.c
@@ -928,6 +928,9 @@ bool BM_face_split_edgenet(
BM_face_kill(bm, face_arr[0]);
face_arr[0] = f;
}
+ else {
+ BM_ELEM_API_FLAG_DISABLE(f, FACE_NET);
+ }
for (i = 0; i < BLI_array_count(face_arr); i++) {
BM_ELEM_API_FLAG_DISABLE(face_arr[i], FACE_NET);