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:
authorGeoffrey Bantle <hairbat@yahoo.com>2007-09-29 09:49:51 +0400
committerGeoffrey Bantle <hairbat@yahoo.com>2007-09-29 09:49:51 +0400
commitae40a1d86e5917dbd23ac4bcdcbeca07a3505e0d (patch)
tree8bf7933642c157ef00ec4737e7c226d04a27aaf1 /source/blender/src/editmesh.c
parent1ea472a9037d5df5000fef7785ed87ed4eb21ea6 (diff)
-> Active face wasn't getting set properly on editmode exit
Active face was being set for the editmesh instead of the mesh on editmode exit. Fixed.
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r--source/blender/src/editmesh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index 678178e6e5b..15f4e652490 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -1094,6 +1094,7 @@ void load_editMesh(void)
a = 0;
efa= em->faces.first;
i = 0;
+ me->act_face = -1;
while(efa) {
mface= &((MFace *) me->mface)[i];
@@ -1149,8 +1150,8 @@ void load_editMesh(void)
/* no index '0' at location 3 or 4 */
test_index_face(mface, &me->fdata, i, efa->v4?4:3);
- if (a==me->act_face)
- EM_set_actFace(efa);
+ if (EM_get_actFace() == efa)
+ me->act_face = a;
#ifdef WITH_VERSE
if(efa->vface) {