Followup for previous commit: fix mismatches between menu entry and shortcut properties.
For now, did most of the changes in menu entries (i.e. py space UI scripts). Note we do not get 100% same results as previously, but current situation is globally better than previous one, though the whole system to retrieve shortcuts remains a bit weak...
This commit is contained in:
@@ -215,8 +215,12 @@ class DOPESHEET_MT_select(Menu):
|
||||
layout.operator("action.select_column", text="Between Selected Markers").mode = 'MARKERS_BETWEEN'
|
||||
|
||||
layout.separator()
|
||||
layout.operator("action.select_leftright", text="Before Current Frame").mode = 'LEFT'
|
||||
layout.operator("action.select_leftright", text="After Current Frame").mode = 'RIGHT'
|
||||
props = layout.operator("action.select_leftright", text="Before Current Frame")
|
||||
props.extend = False
|
||||
props.mode = 'LEFT'
|
||||
props = layout.operator("action.select_leftright", text="After Current Frame")
|
||||
props.extend = False
|
||||
props.mode = 'RIGHT'
|
||||
|
||||
# FIXME: grease pencil mode isn't supported for these yet, so skip for that mode only
|
||||
if context.space_data.mode != 'GPENCIL':
|
||||
|
Reference in New Issue
Block a user