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:
authorJoshua Leung <aligorith@gmail.com>2011-03-17 13:02:37 +0300
committerJoshua Leung <aligorith@gmail.com>2011-03-17 13:02:37 +0300
commite3842d1ca4dd2fdc58b8d7819a8a02a688753146 (patch)
treeb196019c622710a5277b4a7218af06afdb0bccec /release/scripts
parent58c8dca7a60ba369eca95c99da2c3885e3b401c2 (diff)
Bugfix [#26505] zoom in selected keys on graph editor
Not really a "bug", but it was on my todo anyways. Based on patch [#26508] by Campbell, with a few modifications including extending this to the Action/DopeSheet editor too.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/ui/space_dopesheet.py1
-rw-r--r--release/scripts/ui/space_graph.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/ui/space_dopesheet.py b/release/scripts/ui/space_dopesheet.py
index 24c98982de1..57b5a1fb97f 100644
--- a/release/scripts/ui/space_dopesheet.py
+++ b/release/scripts/ui/space_dopesheet.py
@@ -159,6 +159,7 @@ class DOPESHEET_MT_view(bpy.types.Menu):
layout.separator()
layout.operator("action.frame_jump")
layout.operator("action.view_all")
+ layout.operator("action.view_selected")
layout.separator()
layout.operator("screen.area_dupli")
diff --git a/release/scripts/ui/space_graph.py b/release/scripts/ui/space_graph.py
index 6bc47ffce86..f536e4cace0 100644
--- a/release/scripts/ui/space_graph.py
+++ b/release/scripts/ui/space_graph.py
@@ -100,6 +100,7 @@ class GRAPH_MT_view(bpy.types.Menu):
layout.separator()
layout.operator("graph.frame_jump")
layout.operator("graph.view_all")
+ layout.operator("graph.view_selected")
layout.separator()
layout.operator("screen.area_dupli")