diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-04-14 13:11:24 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-04-14 13:12:17 +0300 |
commit | ed40d5eaa79972486f743de04e11fb64f4af0049 (patch) | |
tree | 44250a2ebb7b211ba3edee9e02e2fcda699a45d7 /release | |
parent | 68eeeea57e0e9408c096f2555054cfbdda9ae7ae (diff) |
Add flag that prevents editing of markers. Can be located in marker
menu.
When active, all editing operators for markers will not fire up.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index 819c2af4200..2a3bcfc01ba 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -254,6 +254,10 @@ def marker_menu_generic(layout): layout.operator("screen.marker_jump", text="Jump to Next Marker").next = True layout.operator("screen.marker_jump", text="Jump to Previous Marker").next = False + layout.separator() + ts = bpy.context.tool_settings + layout.prop(ts, "marker_lock") + if __name__ == "__main__": # only for live edit. bpy.utils.register_module(__name__) |