diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_time.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index 726081b2bf5..ffb285557a0 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -117,7 +117,7 @@ class TIME_MT_marker(Menu): def draw(self, context): layout = self.layout - marker_menu_generic(layout) + marker_menu_generic(layout, context) class TIME_MT_view(Menu): @@ -175,8 +175,7 @@ class TIME_MT_cache(Menu): col.prop(st, "cache_rigidbody") -def marker_menu_generic(layout): - from bpy import context +def marker_menu_generic(layout, context): # layout.operator_context = 'EXEC_REGION_WIN' |