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>2007-09-21 18:34:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-21 18:34:29 +0400
commit641fc64eb32311b712856d64413191fb16c5972d (patch)
tree69e9f8400712d5d237a3dc62b073fc0c6245ca28 /source/blender/src/unwrapper.c
parent3b4d74de38d87e6db1e2bb8e7cc2d411209dfa7b (diff)
unwrapping would crash if there was no space image
Diffstat (limited to 'source/blender/src/unwrapper.c')
-rw-r--r--source/blender/src/unwrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/unwrapper.c b/source/blender/src/unwrapper.c
index 005119d448d..bca7e44ed72 100644
--- a/source/blender/src/unwrapper.c
+++ b/source/blender/src/unwrapper.c
@@ -299,7 +299,7 @@ void unwrap_lscm(short seamcut)
return;
/* select new UV's */
- if ((G.sima->flag & SI_SYNC_UVSEL)==0) {
+ if ((G.sima==0 || G.sima->flag & SI_SYNC_UVSEL)==0) {
EditFace *efa;
MTFace *tf;
for(efa=em->faces.first; efa; efa=efa->next) {