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>2016-04-16 18:44:10 +0300
committerJoshua Leung <aligorith@gmail.com>2016-04-16 18:44:10 +0300
commitb973911feeec1bf487b35245005406fb32018cbf (patch)
treefe51cfc0ed772e90ff9d4eb9504789b081c19a94 /release/scripts/startup/bl_ui/space_time.py
parent5d6b695f00c839c34e4d9d9b371ca0a71ee46dbc (diff)
Anim Editors: "View Frame" Operator - Code Cleanups/Reshuffling + NLA/Timeline Support
* Reshuffled code for existing "View Frame" implementations, and removed leftover comment from some of the the copy-and-paste used to build it. * Added support for this operator in the NLA and Timeline
Diffstat (limited to 'release/scripts/startup/bl_ui/space_time.py')
-rw-r--r--release/scripts/startup/bl_ui/space_time.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py
index 4e3dc92d142..5b0075b4147 100644
--- a/release/scripts/startup/bl_ui/space_time.py
+++ b/release/scripts/startup/bl_ui/space_time.py
@@ -130,7 +130,6 @@ class TIME_MT_view(Menu):
layout.prop(st, "show_seconds")
layout.prop(st, "show_locked_time")
- layout.operator("time.view_all")
layout.separator()
@@ -143,6 +142,11 @@ class TIME_MT_view(Menu):
layout.separator()
+ layout.operator("time.view_all")
+ layout.operator("time.view_frame")
+
+ layout.separator()
+
layout.operator("marker.camera_bind")
layout.separator()