Orange fix: previous commit from Brecht called unwrap_lscm_live_end()

without check for correct spacetype in use. :)
This commit is contained in:
2005-12-04 14:37:18 +00:00
parent aa939b8599
commit 9633d7a241

View File

@@ -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)