fix crash in clip graph view (possibly own fault)

This commit is contained in:
Campbell Barton
2012-06-01 11:03:44 +00:00
parent e9093c7011
commit 21bf2e0cae

View File

@@ -1108,6 +1108,7 @@ int initTransInfo(bContext *C, TransInfo *t, wmOperator *op, wmEvent *event)
}
else if (t->spacetype==SPACE_CLIP) {
SpaceClip *sclip = sa->spacedata.first;
t->view = &ar->v2d;
if (ED_space_clip_show_trackedit(sclip))
t->options |= CTX_MOVIECLIP;