diff options
author | Tianwei Shen <shentianweipku@gmail.com> | 2016-08-03 10:55:18 +0300 |
---|---|---|
committer | Tianwei Shen <shentianweipku@gmail.com> | 2016-08-03 10:55:18 +0300 |
commit | e56c68cdcb86f64f7cc0079a0eefb957f77fdc06 (patch) | |
tree | 0e083f9863b77f2cc2cbfb2201cce077c58490b0 /source/blender/editors/space_clip/clip_intern.h | |
parent | 77670703bd824874a15851d983dbb11dc13e955a (diff) |
separating panning fields to RegionSpaceClip
- each sub-region now has its own zoom and panning
- leave stabilization fields in SpaceClip as-is.
Diffstat (limited to 'source/blender/editors/space_clip/clip_intern.h')
-rw-r--r-- | source/blender/editors/space_clip/clip_intern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_intern.h b/source/blender/editors/space_clip/clip_intern.h index 91f394e1121..994dc300355 100644 --- a/source/blender/editors/space_clip/clip_intern.h +++ b/source/blender/editors/space_clip/clip_intern.h @@ -40,6 +40,7 @@ struct MovieTrackingTrack; struct Scene; struct ScrArea; struct SpaceClip; +struct RegionSpaceClip; struct wmOperatorType; /* channel heights */ @@ -139,7 +140,7 @@ void clip_graph_tracking_iterate(struct SpaceClip *sc, bool selected_only, bool void clip_delete_track(struct bContext *C, struct MovieClip *clip, struct MovieTrackingTrack *track); void clip_delete_marker(struct bContext *C, struct MovieClip *clip, struct MovieTrackingTrack *track, struct MovieTrackingMarker *marker); -void clip_view_center_to_point(SpaceClip *sc, float x, float y); +void clip_view_center_to_point(SpaceClip *sc, RegionSpaceClip *rsc, float x, float y); void clip_draw_cfra(struct SpaceClip *sc, struct ARegion *ar, struct Scene *scene); void clip_draw_sfra_efra(struct View2D *v2d, struct Scene *scene); |