Fcurve Problem after baking animation #106708

Closed
opened 2023-04-08 13:34:32 +02:00 by Jay Doshi · 3 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.49

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: 2.79, 2.93, 3.4.1

Short description of error
In 3.5, after baking animation on bone with a damped track modifier to an empty, there are these extra overshot keys overlapping which can be seen in graph editor.
blender_RfczosDT71.mp4

Exact steps for others to reproduce the error

  • Open attached .blend file
  • Go to Pose > Animation > Bake Action....
  • Enable Visual Keying and Overwrite Current Action
  • Press OK
**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.49 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: 2.79, 2.93, 3.4.1 **Short description of error** In 3.5, after baking animation on bone with a damped track modifier to an empty, there are these extra overshot keys overlapping which can be seen in graph editor. [blender_RfczosDT71.mp4](https://projects.blender.org/attachments/4003cebd-2bfd-48d1-9432-13659a4c464e) **Exact steps for others to reproduce the error** - Open attached .blend file - Go to `Pose` > `Animation` > `Bake Action...`. - Enable `Visual Keying` and `Overwrite Current Action` - Press `OK`
Jay Doshi added the
Severity
Normal
Type
Report
Status
Needs Triage
labels 2023-04-08 13:34:33 +02:00
Iliya Katushenock added the
Interest
Animation & Rigging
label 2023-04-08 13:46:34 +02:00
Germano Cavalcante added
Severity
High
and removed
Severity
Normal
labels 2023-04-12 15:29:44 +02:00

Looks like a regression so I increased the priprity

Looks like a regression so I increased the priprity
Sybren A. Stüvel self-assigned this 2023-04-14 14:16:44 +02:00
Member

@dr.sybren The problem is in the file (line 574): https://projects.blender.org/blender/blender/blame/branch/main/scripts/modules/bpy_extras/anim_utils.py where it looks like I thought fcurve.update() would remove duplicates but it doesn't. So there are overshots (original keyframes) and the baked keys overlayed ontop eachother.

@dr.sybren The problem is in the file (line 574): https://projects.blender.org/blender/blender/blame/branch/main/scripts/modules/bpy_extras/anim_utils.py where it looks like I thought fcurve.update() would remove duplicates but it doesn't. So there are overshots (original keyframes) and the baked keys overlayed ontop eachother.

This was fixed by #107089

This was fixed by #107089
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-04-24 12:35:34 +02:00
Sybren A. Stüvel added
Type
Bug
and removed
Type
Report
labels 2023-04-24 12:37:22 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#106708
No description provided.