diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-03-26 14:56:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-03-26 14:56:41 +0300 |
commit | 6184c07474f03c2fb815e28264a35881bace12d0 (patch) | |
tree | dcf800750af096801f793a460d3c6893567e8cd1 /source/blender/src/unwrapper.c | |
parent | 2a47d029751fc14583d7b44f4e8fc84377b15f89 (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/unwrapper.c')
-rw-r--r-- | source/blender/src/unwrapper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/unwrapper.c b/source/blender/src/unwrapper.c index 061165042d8..0b03b2b5511 100644 --- a/source/blender/src/unwrapper.c +++ b/source/blender/src/unwrapper.c @@ -298,6 +298,9 @@ void unwrap_lscm(short seamcut) if (!EM_texFaceCheck()) return; + if (G.sima && G.sima->image) /* this is a bit of a kludge, but assume they want the image on their mesh when UVs are added */ + image_changed(G.sima, G.sima->image); + /* select new UV's */ if ((G.sima==0 || G.sima->flag & SI_SYNC_UVSEL)==0) { EditFace *efa; |