Changes in clip editor's public api to make it's more clear
[blender.git] / source / blender / editors / space_clip / clip_dopesheet_ops.c
index 716994f74872efe93e9708f2b955201393d80c3a..6d1610f3f91544c7cb314400352392c7640bc3d8 100644 (file)
@@ -91,7 +91,7 @@ static int dopesheet_select_channel_poll(bContext *C)
 static int dopesheet_select_channel_exec(bContext *C, wmOperator *op)
 {
        SpaceClip *sc = CTX_wm_space_clip(C);
 static int dopesheet_select_channel_exec(bContext *C, wmOperator *op)
 {
        SpaceClip *sc = CTX_wm_space_clip(C);
-       MovieClip *clip = ED_space_clip(sc);
+       MovieClip *clip = ED_space_clip_get_clip(sc);
        MovieTracking *tracking = &clip->tracking;
        MovieTrackingObject *object = BKE_tracking_object_get_active(tracking);
        MovieTrackingDopesheet *dopesheet = &tracking->dopesheet;
        MovieTracking *tracking = &clip->tracking;
        MovieTrackingObject *object = BKE_tracking_object_get_active(tracking);
        MovieTrackingDopesheet *dopesheet = &tracking->dopesheet;