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:
authorAntony Riakiotakis <kalast@gmail.com>2015-04-14 13:11:24 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-04-14 13:12:17 +0300
commited40d5eaa79972486f743de04e11fb64f4af0049 (patch)
tree44250a2ebb7b211ba3edee9e02e2fcda699a45d7 /release
parent68eeeea57e0e9408c096f2555054cfbdda9ae7ae (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.py4
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__)