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
This commit is contained in:
@@ -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")
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user