Patches to Bf Blender for CAD development. https://tornavis.org/
Go to file
Christoph Lendenfeld 614d7749df Fix: Autokeyframe with Insert Needed with no keyframes
The issue occurs when auto-keyframe AND "Only Insert Needed" enabled.
And only when no keyframes have been added yet.

Before the commit that caused the issue, moving an object with `G` would
create only location keyframes. After it would key all.
That is because that commit removed the logic that checks the
`eTfmMode` (Transform mode). That only works as long as there are already
keyframes on the object/bone because the logic needs an
existing value to compare against. In the case where the first keyframe is set,
it would always key everything.

The fix is to bring back the logic that checks the Transform mode and pass
a `Span` of rna paths to the autokeyframe function. This restores the behavior.

This still has the issue that "Only Insert Needed" behaves differently if
keys exist vs inserting the first keys. While this isn't ideal, I don't see a way
to get values of an object/bone before and after the transformation.
We might be able to fix this in a future PR, but for now we restore the
old behavior.

Caused by #115522

Pull Request: https://projects.blender.org/blender/blender/pulls/116219
2023-12-21 10:50:17 +01:00
.gitea Docs: Add button to report python API documentation issue 2023-12-07 22:06:07 +01:00
.github
build_files Build: update Windows ocloc to store binaries per generation 2023-12-14 11:25:23 +01:00
doc Licenses: add MPL-2.0 (from recent inclusion of NanoVDB.h) 2023-12-12 13:08:16 +11:00
extern Build: replace Blender specific DEBUG by standard NDEBUG 2023-12-06 16:05:14 +01:00
intern Cycles: Log number of scheduled tiles 2023-12-21 09:39:16 +01:00
locale I18N: Update UI messages from git/eblate repository (f1161c0d9985b97). 2023-12-18 16:11:39 +01:00
release GPv3: Material Render Preview 2023-12-15 11:50:48 +01:00
scripts Anim: Graph Editor Scale From Neighbor 2023-12-21 10:46:43 +01:00
source Fix: Autokeyframe with Insert Needed with no keyframes 2023-12-21 10:50:17 +01:00
tests Cleanup: Make format 2023-12-21 10:47:42 +01:00
tools Cleanup: spelling correction: "adjacent" & spelling in comments 2023-12-19 09:54:53 +11:00
.clang-format
.clang-tidy
.editorconfig editorconfig: add HTML entry 2023-12-08 13:28:13 +11:00
.git-blame-ignore-revs
.gitignore
AUTHORS AUTHORS: add 3 new developers 2023-11-02 16:09:11 +11:00
CMakeLists.txt GPU: Remove the Word OpenGL from Build Scripts 2023-12-12 16:02:29 +01:00
COPYING
GNUmakefile Fix "make doc_man" not working, after recent changes 2023-11-29 16:02:33 +11:00
README.md
make.bat
pyproject.toml

README.md

Blender

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages

Development

License

Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.

See blender.org/about/license for details.