[Bf-blender-cvs] [68d5e1d] blender-v2.76-release: Fix: Do not show "Paste Flipped" in the Dope Sheet's Grease Pencil mode
Joshua Leung
noreply at git.blender.org
Fri Oct 9 13:33:22 CEST 2015
Commit: 68d5e1d3ae1fb56eab18064ce9d814b85aa94183
Author: Joshua Leung
Date: Fri Oct 9 01:14:04 2015 +1300
Branches: blender-v2.76-release
https://developer.blender.org/rB68d5e1d3ae1fb56eab18064ce9d814b85aa94183
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