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:
authorTon Roosendaal <ton@blender.org>2005-12-04 17:37:18 +0300
committerTon Roosendaal <ton@blender.org>2005-12-04 17:37:18 +0300
commit9633d7a2417f5ecd8c45e6c8d266dd145474ec10 (patch)
tree968aeda0cc7ff10140af16d8d54153dabaf26993
parentaa939b859904fcfad5c6782e14621da74bbf8118 (diff)
Orange fix: previous commit from Brecht called unwrap_lscm_live_end()
without check for correct spacetype in use. :)
-rwxr-xr-xsource/blender/src/transform_generics.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/transform_generics.c b/source/blender/src/transform_generics.c
index 3352a95ab77..d88a128cdb7 100755
--- a/source/blender/src/transform_generics.c
+++ b/source/blender/src/transform_generics.c
@@ -483,8 +483,10 @@ void postTrans (TransInfo *t)
t->data2d= NULL;
}
- if (G.sima->flag & SI_LSCM_LIVE)
- unwrap_lscm_live_end();
+ if(t->spacetype==SPACE_IMAGE) {
+ if (G.sima->flag & SI_LSCM_LIVE)
+ unwrap_lscm_live_end();
+ }
}
static void apply_grid3(TransInfo *t, float *val, int max_index, float fac1, float fac2, float fac3)