Page MenuHome

Clean Keyframes removes the channels.
Closed, ResolvedPublic


System Information
Ubuntu 14.04 x86_64 Linux

Blender Version
Broken: 2.76 48f7dd6
Worked: 2.75a c27589e

Short description of error
Now we have a new operator, "Clean Channels", which removes the channels in which there is no animation.
Old operator, "Clean Keyframes", always left one key in the channel, in such cases. But now it works the same, as "Clean Channels", and remove channel.

Event Timeline (acvarium) created this task. (acvarium) raised the priority of this task from to Needs Triage by Developer.

Why do you need that 1 key channel?

If I switch to another action, and I do not have that 1 key per channel, it can damage my animation.

It seems that the bug only reproduce after a run "Clean Channels" operator. It runs bpy.ops.graph.clean(channels=True), and save property "channels" as True for next calling bpy.ops.graph.clean()

The operator "Clean Keyframes", in this case, have to called with bpy.ops.graph.clean(channels=False)

Sounds like both clean channels and clean keys are actually the same operator, and probably blender's operator memory is saving the last used option. Humnf

Bastien Montagne (mont29) triaged this task as Confirmed, Medium priority.

That is easy fix (for once ;) ).

How about menu, that appear if pass 'x' or 'delete' in Dope Sheet and Graph Editor?

line 425 in release/scripts/startup/bl_ui/ and 296 in release/scripts/startup/bl_ui/

Good catch, fixed in rB0426f74.