diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-09-21 18:34:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-09-21 18:34:29 +0400 |
commit | 641fc64eb32311b712856d64413191fb16c5972d (patch) | |
tree | 69e9f8400712d5d237a3dc62b073fc0c6245ca28 /source/blender/src/unwrapper.c | |
parent | 3b4d74de38d87e6db1e2bb8e7cc2d411209dfa7b (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.c | 2 |
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) { |