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:
authorTon Roosendaal <ton@blender.org>2004-10-30 17:42:49 +0400
committerTon Roosendaal <ton@blender.org>2004-10-30 17:42:49 +0400
commitd149a79ad10c12dd68b87fdc3af695db08635cf8 (patch)
treede97f3379cfdd49a8ccbbb52a819238f4eb87b78 /source/blender/src/editmesh_lib.c
parent02b2fc5ec8029994efcd5c04e261db64464f5b08 (diff)
Wybren report #1709:
Deleting only-faces from fgon still draws wires hidden in editmode. Added extra: when mesh has no faces, it draws wire in solid view, also doesn't draw the 'fat' outline for selection.
Diffstat (limited to 'source/blender/src/editmesh_lib.c')
-rw-r--r--source/blender/src/editmesh_lib.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/editmesh_lib.c b/source/blender/src/editmesh_lib.c
index c3f7a069de7..35c506754f8 100644
--- a/source/blender/src/editmesh_lib.c
+++ b/source/blender/src/editmesh_lib.c
@@ -1594,6 +1594,12 @@ void EM_fgon_flags(void)
BLI_addtail(&em->faces, efa);
efa= efan;
}
+
+ // remove fgon flags when edge not in fgon (anymore)
+ for(eed= em->edges.first; eed; eed= eed->next) {
+ if(eed->fgoni==0) eed->h &= ~EM_FGON;
+ }
+
}