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:
authorJoshua Leung <aligorith@gmail.com>2015-10-08 15:14:04 +0300
committerJoshua Leung <aligorith@gmail.com>2015-10-08 15:14:04 +0300
commitfb5328d59f465320b6b57876b1d75a1a09c144ab (patch)
treec743c55a5e0a70a2eee8d07c4d8679e28298317b /release/scripts/startup/bl_ui/space_dopesheet.py
parent0a7aaa99d835b37eaf4d4919088f1db7f8d1ceaf (diff)
Fix: Do not show "Paste Flipped" in the Dope Sheet's Grease Pencil mode
Diffstat (limited to 'release/scripts/startup/bl_ui/space_dopesheet.py')
-rw-r--r--release/scripts/startup/bl_ui/space_dopesheet.py3
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):