Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-10-09 14:33:24 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-10-09 14:33:24 +0400
commit6712e7428257b57732f64efcdcea95b40043000b (patch)
tree3df8cae4b865f0fdff20ffdcffbbc63ad7bc9954 /release
parent33f35647e96b843e0df4c3304173bd39b7cc2dd5 (diff)
Motion Tracking; expose View All and Center to Current Frame to View menu of graph view
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py6
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()