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:
authorJohnny Matthews <johnny.matthews@gmail.com>2005-11-08 18:04:14 +0300
committerJohnny Matthews <johnny.matthews@gmail.com>2005-11-08 18:04:14 +0300
commitbcd723c0af69db905b2850db24ea88a696acac9f (patch)
tree3dcdcd34fb14081ea3b90c5716d8934615b56690 /source/blender/src/editmesh_loop.c
parentea1d6d54d04b7749d88bbc7f8d3ff932424aa3f9 (diff)
Make preview line not draw over hidden areas for loopcut
Diffstat (limited to 'source/blender/src/editmesh_loop.c')
-rw-r--r--source/blender/src/editmesh_loop.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c
index 719d09287f8..0c6b6e10928 100644
--- a/source/blender/src/editmesh_loop.c
+++ b/source/blender/src/editmesh_loop.c
@@ -167,11 +167,16 @@ static void edgering_sel(EditEdge *startedge, int select, int previewlines)
for(efa= em->faces.first; efa; efa= efa->next) {
if(efa->v4 == NULL) { continue; }
if(efa->e1->f2 == 1){
+ if(efa->e1->h == 1 || efa->e3->h == 1 )
+ continue;
+
v[0][0] = efa->v1;
v[0][1] = efa->v2;
v[1][0] = efa->v4;
v[1][1] = efa->v3;
} else if(efa->e2->f2 == 1){
+ if(efa->e2->h == 1 || efa->e4->h == 1)
+ continue;
v[0][0] = efa->v2;
v[0][1] = efa->v3;
v[1][0] = efa->v1;