diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-09 14:33:24 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-09 14:33:24 +0400 |
commit | 6712e7428257b57732f64efcdcea95b40043000b (patch) | |
tree | 3df8cae4b865f0fdff20ffdcffbbc63ad7bc9954 | |
parent | 33f35647e96b843e0df4c3304173bd39b7cc2dd5 (diff) |
Motion Tracking; expose View All and Center to Current Frame to View menu of graph view
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index 17dd1c9cdab..f7b9f59b066 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -891,6 +891,12 @@ class CLIP_MT_view(Menu): layout.operator("clip.view_zoom_ratio", text=text).ratio = a / b else: + if sc.view == 'GRAPH': + layout.operator_context = 'INVOKE_REGION_PREVIEW' + layout.operator("clip.graph_center_current_frame") + layout.operator("clip.graph_view_all") + layout.operator_context = 'INVOKE_DEFAULT' + layout.prop(sc, "show_seconds") layout.separator() |