diff options
author | Joshua Leung <aligorith@gmail.com> | 2015-10-08 15:14:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-09 14:23:40 +0300 |
commit | 68d5e1d3ae1fb56eab18064ce9d814b85aa94183 (patch) | |
tree | d9af1d0cfe8e4550a2d7fe85845ed0fe4364e199 /release | |
parent | 323851fa71084047eb8ee2a7f59c8ffd2967405d (diff) |
Fix: Do not show "Paste Flipped" in the Dope Sheet's Grease Pencil mode
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index 7fd9719a6e3..6b32d2ae600 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -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): |