From 2f16098d208058dce7701d6e49ed9052445553f5 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Wed, 7 Jan 2015 22:25:33 +0100 Subject: Gooseberry animation request: Paste flipped pose in action and graph editor. This was a tricky commit that was not so straightforward to make work. The information for bones is not easy to come by in the animation curves, however we do have some string manipulation tricks to make it happen. Testing in gooseberry worked for the rigs there, commiting to master now --- release/scripts/startup/bl_ui/space_graph.py | 1 + 1 file changed, 1 insertion(+) (limited to 'release/scripts/startup/bl_ui/space_graph.py') diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index 5861bc0dc95..6b784033bfb 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -52,6 +52,7 @@ class GRAPH_HT_header(Header): row = layout.row(align=True) row.operator("graph.copy", text="", icon='COPYDOWN') row.operator("graph.paste", text="", icon='PASTEDOWN') + row.operator("graph.paste", text="", icon='PASTEFLIPDOWN').flipped = True row = layout.row(align=True) if st.has_ghost_curves: -- cgit v1.2.3