diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2004-12-10 01:11:40 +0300 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2004-12-10 01:11:40 +0300 |
commit | b5131b4c6527ece4674273070d23f4ddee38a98f (patch) | |
tree | cf00b922c624ac12c52f5aa735ffbe4453729e47 | |
parent | 2de89e2a353d251fce88c06da1a6a38cc770cf62 (diff) |
Fixed a crafty little bug that only seemed to show up in 'Rotate Edges'.
Rotated edges (seemingly on quads only) were not drawn even if
'Draw All Edges' is active.
Finally tracked the bug down to a typo in flag checks! Eeugh, was much
head scratching on this one! :)
-rw-r--r-- | source/blender/src/editmesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index d3277edafe2..ddc3be4addd 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -568,7 +568,7 @@ static void edge_drawflags(void) if(e1->f2<3) e1->f2+= 1; if(e2->f2<3) e2->f2+= 1; if(e3->f2<3) e3->f2+= 1; - if(e4 && e4->f<3) e4->f2+= 1; + if(e4 && e4->f2<3) e4->f2+= 1; if(e1->vn==0) e1->vn= (EditVert *)efa; if(e2->vn==0) e2->vn= (EditVert *)efa; @@ -584,7 +584,7 @@ static void edge_drawflags(void) if(efa->e1->f2>=2) efa->e1->f2= 1; if(efa->e2->f2>=2) efa->e2->f2= 1; if(efa->e3->f2>=2) efa->e3->f2= 1; - if(efa->e4 && efa->e4->f>=2) efa->e4->f2= 1; + if(efa->e4 && efa->e4->f2>=2) efa->e4->f2= 1; efa= efa->next; } |