Move clean operator from action/ipo editors to the delete menu, now that

O key is bound to proportional editing.
This commit is contained in:
Antony Riakiotakis
2015-04-10 11:52:54 +02:00
parent 11a48b7227
commit 253d15ea16
4 changed files with 31 additions and 5 deletions

View File

@@ -280,5 +280,18 @@ class GRAPH_MT_key_transform(Menu):
layout.operator("transform.rotate", text="Rotate")
layout.operator("transform.resize", text="Scale")
class GRAPH_MT_delete(Menu):
bl_label = "Delete"
def draw(self, context):
layout = self.layout
layout.operator("graph.delete")
layout.separator()
layout.operator("graph.clean")
if __name__ == "__main__": # only for live edit.
bpy.utils.register_module(__name__)