Fix: Do not show "Paste Flipped" in the Dope Sheet's Grease Pencil mode

This commit is contained in:
Joshua Leung 2015-10-09 01:14:04 +13:00 committed by Sergey Sharybin
parent 323851fa71
commit 68d5e1d3ae
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ class DOPESHEET_HT_header(Header):
row = layout.row(align=True)
row.operator("action.copy", text="", icon='COPYDOWN')
row.operator("action.paste", text="", icon='PASTEDOWN')
row.operator("action.paste", text="", icon='PASTEFLIPDOWN').flipped = True
if st.mode not in ('GPENCIL', 'MASK'):
row.operator("action.paste", text="", icon='PASTEFLIPDOWN').flipped = True
class DOPESHEET_MT_editor_menus(Menu):