Clean Keyframes removes the channels. #46467

Closed
opened 2015-10-13 10:32:37 +02:00 by 3dvits@gmail.com · 15 comments

System Information
Ubuntu 14.04 x86_64 Linux 3.16.7.1-amdfx

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.

https://youtu.be/s_r2rxgNtdA

**System Information** Ubuntu 14.04 x86_64 Linux 3.16.7.1-amdfx **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. https://youtu.be/s_r2rxgNtdA

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @VitaliiShmorgun

Added subscriber: @VitaliiShmorgun
Member

Added subscriber: @zanqdo

Added subscriber: @zanqdo
Member

Why do you need that 1 key channel?

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.

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()

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)

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

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

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

Added subscriber: @mont29

Added subscriber: @mont29

That is easy fix (for once ;) ).

That is easy fix (for once ;) ).
Bastien Montagne self-assigned this 2015-10-13 12:55:49 +02:00

This issue was referenced by af9002dc3f

This issue was referenced by af9002dc3ff03d6c1989e7221aa0b30d74426c2e

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

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

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

line 425 in release/scripts/startup/bl_ui/space_dopesheet.py and 296 in release/scripts/startup/bl_ui/space_graph.py

line 425 in **release/scripts/startup/bl_ui/space_dopesheet.py** and 296 in **release/scripts/startup/bl_ui/space_graph.py**

Good catch, fixed in 0426f74.

Good catch, fixed in 0426f74.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#46467
No description provided.