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:
authorCampbell Barton <ideasman42@gmail.com>2008-04-01 17:35:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-01 17:35:52 +0400
commit82e816eb1a8a37a9905c7a73da4555cc160c575b (patch)
treeb433c09a78d30631a222b81b0d10f66d6838900f /source/blender/src/editmesh.c
parent7d6e7c716fcea69cacb74132efbae27133345f57 (diff)
added a sloppy option for getting the active face, which returns the last selected if none is active, made the uv calculation aspect correction use the active faces image rather then the last used image viewports.
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 edf87d620b0..2c1118bb588 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -1023,7 +1023,7 @@ void load_editMesh(void)
MFace *mface;
MSelect *mselect;
EditVert *eve;
- EditFace *efa;
+ EditFace *efa, *efa_act;
EditEdge *eed;
EditSelection *ese;
float *fp, *newkey, *oldkey, nor[3];
@@ -1238,6 +1238,7 @@ void load_editMesh(void)
/* the faces */
a = 0;
efa= em->faces.first;
+ efa_act= EM_get_actFace(0);
i = 0;
me->act_face = -1;
while(efa) {
@@ -1295,7 +1296,7 @@ void load_editMesh(void)
/* no index '0' at location 3 or 4 */
test_index_face(mface, &me->fdata, i, efa->v4?4:3);
- if (EM_get_actFace() == efa)
+ if (efa_act == efa)
me->act_face = a;
#ifdef WITH_VERSE