Fix T46467: Clean Keyframes removes the channels.

This commit is contained in:
Bastien Montagne 2015-10-13 12:58:04 +02:00
parent e1b67c9bc0
commit af9002dc3f
2 changed files with 2 additions and 2 deletions

@ -339,7 +339,7 @@ class DOPESHEET_MT_key(Menu):
layout.operator_menu_enum("action.interpolation_type", "type", text="Interpolation Mode") layout.operator_menu_enum("action.interpolation_type", "type", text="Interpolation Mode")
layout.separator() layout.separator()
layout.operator("action.clean") layout.operator("action.clean").channels = False
layout.operator("action.clean", text="Clean Channels").channels = True layout.operator("action.clean", text="Clean Channels").channels = True
layout.operator("action.sample") layout.operator("action.sample")

@ -257,7 +257,7 @@ class GRAPH_MT_key(Menu):
layout.operator_menu_enum("graph.easing_type", "type", text="Easing Type") layout.operator_menu_enum("graph.easing_type", "type", text="Easing Type")
layout.separator() layout.separator()
layout.operator("graph.clean") layout.operator("graph.clean").channels = False
layout.operator("graph.clean", text="Clean Channels").channels = True layout.operator("graph.clean", text="Clean Channels").channels = True
layout.operator("graph.smooth") layout.operator("graph.smooth")
layout.operator("graph.sample") layout.operator("graph.sample")