Anim: implement 3D viewport keyframing functionality for the Animation data-block #120428

Closed
Nathan Vegdahl wants to merge 21 commits from nathanvegdahl/blender:baklava_keyframing into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

21 Commits

Author SHA1 Message Date
a901fd9675 More accurate test case failure string 2024-05-06 15:55:27 +02:00
d626e30f2c Rename GENERIC_FAILURE to UNKNOWN_FAILURE
This helps make it feel a little worse to use, which is good because
we want to remove it in the future (as explained in the comment).
2024-05-06 15:52:40 +02:00
f887cf52c4 Move TODO comment to right place 2024-05-02 17:39:52 +02:00
733a8d2632 Misc cleanup
Some checks failed
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
2024-05-02 15:25:07 +02:00
f008ce58a2 Merge branch 'main' into baklava_keyframing 2024-05-02 13:41:34 +02:00
72937ca713 Remove redundant wrapper function for strip keyframing
At this point it was literally the same signature, and just calling
the identical method on KeyframeStrip.  We can always reintroduce it
in the future when it makes sense.
2024-05-02 12:59:12 +02:00
831c4952bf Remove previously ignored INSERTKEY_NEEDED flag
In the last commit I made `insert_vert_fcurves()` actually use
the `INSERTKEY_NEEDED` flag, whereas previously it was ignored.
However, there was a call site that was already passing
`INSERTKEY_NEEDED` to `insert_vert_fcurve()` despite it previously
having no effect.  In order to preserve behavior, this commit replaces
that with `INSERTKEY_NOFLAGS`.
2024-05-02 12:45:09 +02:00
fb2a1bae3f Implement "Only Insert Needed" and "Only Insert Available" 2024-05-02 12:29:12 +02:00
074ac4330e Merge branch 'main' into baklava_keyframing 2024-05-01 16:18:38 +02:00
67b22e2f7d Add missing depsgraph tag when inserting keys 2024-05-01 15:42:15 +02:00
bf550b3d02 Add error reporting for generic keying errors 2024-04-30 17:52:28 +02:00
f96943ad1d Propagate failure results from KeyframeStrip::keyframe_insert()
This still leaves even lower-level code not returning propert failure
results, but one step at a time.
2024-04-30 17:39:02 +02:00
f2d16a7773 Use digits vs spelled-out numbers consistently in error messages 2024-04-30 16:34:36 +02:00
ba41a0fd5d Update new error reports to be more translation-friendly 2024-04-30 16:32:01 +02:00
879aa17dd5 Merge branch 'main' into baklava_keyframing 2024-04-30 16:08:21 +02:00
2e3385445a Misc cleanups 2024-04-30 16:04:17 +02:00
4bcd0d99cb Merge branch 'main' into baklava_keyframing 2024-04-30 15:32:07 +02:00
a75d2d5cb5 Don't add or key Animation datablock with experimental feature disabled 2024-04-11 14:54:27 +02:00
d1a10e777d Collect keying errors for the new code paths as well
This isn't 100% there yet, but it's a good start.
2024-04-11 14:54:27 +02:00
7ab39df3ac Run clang-format 2024-04-11 14:54:27 +02:00
e03c0987bc Anim: implement keyframing functionality for the Animation data-block
So far just a port of #119669 to latest main.
2024-04-11 14:54:27 +02:00