diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-12-22 10:45:01 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-12-22 10:45:01 +0300 |
commit | d892aac06bfca5841897bf26c1885d0131d76d5c (patch) | |
tree | a8098b3f80e4ede401bb80c1f4ecea7b7730bac8 /source/blender/src/editface.c | |
parent | 73382364a39fb76ac7ad4801f9a4d41d979aa733 (diff) |
Fix: active face was lost switching between faceselect mode and editmode.
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r-- | source/blender/src/editface.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c index 68fcc200622..5dc7959d23b 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -1459,7 +1459,7 @@ void select_tface_from_mface(Mesh *me) { MFace *mf; MTFace *tf; - int a; + int a, hasactive=0; if(!me->mtface) return; @@ -1471,6 +1471,11 @@ void select_tface_from_mface(Mesh *me) if(mf->flag & ME_HIDE) tf->flag |= TF_HIDE; else tf->flag &= ~TF_HIDE; + + if(tf->flag & TF_ACTIVE) { + if(hasactive) tf->flag &= ~TF_ACTIVE; + else hasactive= 1; + } } } |