Fix #126632: Pose Breakdowner not interpolating all curves #126642

Merged
Christoph Lendenfeld merged 1 commits from ChrisLend/blender:fix_breakdowner_broken into main 2024-08-22 12:38:33 +02:00

Caused by 0f5dd1c55c

The refactor commit changed the arguments to receive a Listbase reference
instead of a pointer because in all use cases it was always passed.
As such the check for a ListBase null pointer went away.
However by removing JUST the nullptr check in this line
if ((curves) || (flags & ACT_TRANS_LOC) == 0)
to
if ((flags & ACT_TRANS_LOC) == 0)

I effectively changed the behavior.
Since curves was ALWAYS passed, the second condition never triggered.
With the change, this condition would always trigger, effectively only
adding the first FCurve of either location rotation or scale.

Caused by 0f5dd1c55c The refactor commit changed the arguments to receive a `Listbase` reference instead of a pointer because in all use cases it was always passed. As such the check for a `ListBase` null pointer went away. However by removing JUST the nullptr check in this line `if ((curves) || (flags & ACT_TRANS_LOC) == 0)` to `if ((flags & ACT_TRANS_LOC) == 0)` I effectively changed the behavior. Since `curves` was ALWAYS passed, the second condition never triggered. With the change, this condition would always trigger, effectively only adding the first FCurve of either location rotation or scale.
Christoph Lendenfeld added the
Module
Animation & Rigging
label 2024-08-22 11:58:05 +02:00
Christoph Lendenfeld added 1 commit 2024-08-22 11:58:17 +02:00
the fix
All checks were successful
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
a8ee140f16
Christoph Lendenfeld requested review from Nathan Vegdahl 2024-08-22 11:58:36 +02:00
Author
Member

@blender-bot build

@blender-bot build
Nathan Vegdahl approved these changes 2024-08-22 12:03:11 +02:00
Nathan Vegdahl left a comment
Member

Looks good to me, and fixes the bug in testing.

Looks good to me, and fixes the bug in testing.
Christoph Lendenfeld merged commit 69d50b2f4d into main 2024-08-22 12:38:33 +02:00
Christoph Lendenfeld deleted branch fix_breakdowner_broken 2024-08-22 12:38:36 +02:00
Sign in to join this conversation.
No reviewers
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
2 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#126642
No description provided.