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-03-26 14:56:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-03-26 14:56:41 +0300
commit6184c07474f03c2fb815e28264a35881bace12d0 (patch)
treedcf800750af096801f793a460d3c6893567e8cd1 /source/blender/src/editmesh_lib.c
parent2a47d029751fc14583d7b44f4e8fc84377b15f89 (diff)
fix for [#8732] Unwrap Project from View not matching View
the active face could be unselected. now unwrapping with no UV layer will assign the current image to the selected faces.
Diffstat (limited to 'source/blender/src/editmesh_lib.c')
-rw-r--r--source/blender/src/editmesh_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_lib.c b/source/blender/src/editmesh_lib.c
index 298bc222133..d221ea7669e 100644
--- a/source/blender/src/editmesh_lib.c
+++ b/source/blender/src/editmesh_lib.c
@@ -80,7 +80,7 @@ void EM_set_actFace(EditFace *efa)
EditFace * EM_get_actFace(void)
{
- return G.editMesh->act_face;
+ return (G.editMesh->act_face && G.editMesh->act_face->f & SELECT) ? G.editMesh->act_face : NULL ;
}
/* ********* Selection History ************ */