Anim: move Animation data-block functionality into bAction #121355
Labels
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
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & 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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#121355
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Baklava: from Animation to Action
Current design:
Action
is slated for removal,Animation
is meant as its replacement.Proposal: move the new data model into the existing
Action
struct.Situation Sketch, expressed using the current-in-
main
Animation
data-blocks:Same situation sketch, expressed using the proposed
Action
data-block::::info
Action
contains a bit more info than shown above, most importantly markers. These are out of the scope of this proposal, and will be kept as-is until further notice.:::
Definitions
Actions: Legacy vs. Layered
curves
list. This is the list of F-Curves that always animate any data-block animated by this Action.:::info
This means that there are two moments when Blender has to choose between creating a legacy or an layered Action:
Both should be consistent in whether they create a legacy or a layered Action.
:::
Action Reference: legacy vs. bound vs. unbound
To reference an Action (i.e. an object saying "I'm animated by that"), there will be a difference between legacy, bound, and unbound references.
ANI_Fox_chase
, and and the BindingFox Rig
". This will be the standard way of referencing Actions.Legacy & Unbound references will behave the same: they will cause the legacy F-Curves to be evaluated. In a Legacy Action, this is simply how Actions behave. If the Action has been upgraded to 'layered', and thus that list is empty, it means that the object will not receive any animation.
By using these definitions, there is no functional difference between "legacy reference" and "unbound reference", keeping things simple.
Changes Involved
Code Juggling
Animation
DNA struct into theAction
DNA struct.AnimationXXX
DNA structs fromDNA_anim_types.h
toDNA_action_types.h
, along with the definition of their default values.ANIM_animation.hh
toANIM_action.hh
, and the implementations into the corresponding.cc
files.rna_animation_id.cc
torna_action.cc
.WITH_EXPERIMENTAL_FEATURES
, and the flag in the preferences just toggles visibility in the UI and RNA.Animation
andAction
, for Dope Sheet and Graph Editor support.NLA Support
If support is feasible for one-layer/one-strip Actions
If support is impossible / hard
Closing this task as it's been superseeded by #120406