diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-04-16 18:44:10 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-04-16 18:44:10 +0300 |
commit | b973911feeec1bf487b35245005406fb32018cbf (patch) | |
tree | fe51cfc0ed772e90ff9d4eb9504789b081c19a94 /release | |
parent | 5d6b695f00c839c34e4d9d9b371ca0a71ee46dbc (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')
-rw-r--r-- | release/scripts/startup/bl_ui/space_nla.py | 1 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py index c083907f017..64d3b427260 100644 --- a/release/scripts/startup/bl_ui/space_nla.py +++ b/release/scripts/startup/bl_ui/space_nla.py @@ -86,6 +86,7 @@ class NLA_MT_view(Menu): layout.separator() layout.operator("nla.view_all") layout.operator("nla.view_selected") + layout.operator("nla.view_frame") layout.separator() layout.operator("screen.area_dupli") 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() |