blender/tests/files/animation
Christoph Lendenfeld b988d827b6 Anim: world space copy paste frame range
This adds functionality to store world space data in a temporary file
on disk and paste it on other objects.
(technically `AnimTransformable`s, which is objects or bones, but for
simplicity I will be talking about "objects" here)
Compared to the existing functionality this can also copy a
range of frames. Because the data is stored on disk, it is possible
to copy and paste between files.

**Matching Logic**
* When 1 object copied and 1 selected -> paste no matter the naming
* When 1 object copied and 2:n selected -> paste the same data to
all selected
* When 2:n objects copied and 1:n selected -> paste based on naming.
It is possible to paste between objects and bones as long
as the name matches.

**Depsgraph**
* Introduces a new API function `DEG_foreach_dependent_component`
* this function iterates the outgoing links starting at a given ID
* it is used to find the order in which to paste world space transforms
since we have to paste in order of dependency -> dependent
for it to work correctly.

**UI**
Adding a new panel because the new operators are not compatible
with the existing ones. I cannot remove the existing operators because
they provide functionality that I don't yet provide.
To make it clear that they don't work together, they get their own panel.

**Limitations**
* objects with constraints may not end up at the correct world space.
That is expected for limit constraints, but additive constraints would
need to be inverse solved which is a job for another day.
* when the rotation mode is animated, pasting world space animation
will override all keys in the baked range to be the value at the
start of the range.

**Performance**
Testing in a file with 10.000 frames of dense keyframe data.
Copying a single bone:
* Copying ~1.6 seconds
* Pasting ~1.6 seconds

Copying 3 bones of the same armature
* Copying ~1.6 seconds
* Pasting ~4.8 seconds

The extra evaluation required when pasting makes this scale with the
amount of bones we are pasting.

Part of #156579

Pull Request: https://projects.blender.org/blender/blender/pulls/159390
2026-09-17 16:02:26 +02:00
..
armature_join_with_action_constraints.blend Anim: Add unit test for joining armatures that have action constraints 2026-05-25 10:22:26 +02:00
chinchilla_mdef.blend
CtrlObject.blend Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
cubesphere.blend
dolphin.blend
driver-object-eyes.blend Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
dupliverts.blend Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
euler-filter.blend
fcurve-extreme-handles.blend Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
fcurve-versioning-291.blend
IK.blend
layered_action_versioning_42.blend Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
legacy-action-without-idroot.blend
liboverride-action-slot-libfile.blend Move tests/data and assets to the main repository 2025-05-05 15:10:22 +02:00
luxo.blend
pathJumper.blend
pydrivers_flap.blend
remap_action.blend Fix: Replace Action operator not iterating over embedded IDs 2026-02-04 16:54:07 +01:00
rotation_mode_conversion.blend Anim: Convert animation between rotation modes 2026-07-20 15:31:01 +02:00
symm_test.blend
timeline.blend
vertex_groups.blend Anim: Add Python unit tests for vertex group Normalize All operator 2025-10-14 05:10:13 +02:00
world_space_copy_paste.blend Anim: world space copy paste frame range 2026-09-17 16:02:26 +02:00