[Bf-blender-cvs] [fb5328d] master: Fix: Do not show "Paste Flipped" in the Dope Sheet's Grease Pencil mode
Joshua Leung
noreply at git.blender.org
Thu Oct 8 14:14:18 CEST 2015
Commit: fb5328d59f465320b6b57876b1d75a1a09c144ab
Author: Joshua Leung
Date: Fri Oct 9 01:14:04 2015 +1300
Branches: master
https://developer.blender.org/rBfb5328d59f465320b6b57876b1d75a1a09c144ab
Fix: Do not show "Paste Flipped" in the Dope Sheet's Grease Pencil mode
===================================================================
M release/scripts/startup/bl_ui/space_dopesheet.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py
index 7fd9719..6b32d2a 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):
More information about the Bf-blender-cvs
mailing list