diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-04 17:37:18 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-04 17:37:18 +0300 |
commit | 9633d7a2417f5ecd8c45e6c8d266dd145474ec10 (patch) | |
tree | 968aeda0cc7ff10140af16d8d54153dabaf26993 | |
parent | aa939b859904fcfad5c6782e14621da74bbf8118 (diff) |
Orange fix: previous commit from Brecht called unwrap_lscm_live_end()
without check for correct spacetype in use. :)
-rwxr-xr-x | source/blender/src/transform_generics.c | 6 |
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) |