tornavis/source/blender/python
Sybren A. Stüvel 30711d1398 Fix #119623: Anim: unintended API change in keyframe_insert() function
Bring back the `INSERTKEY_XYZ_TO_RGB` enum item for the
`keyframe_insert()` function (it was removed in 30b0c5b225). This way
any Python code that targets Blender 4.x can safely pass this flag,
without having to check specific Blender versions.

Note that the flag is implemented as a no-op, as the behaviour change
introduced in 30b0c5b225 (just looking at the user preference) is still
retained. The purpose of this commit is simply to avoid the `ValueError`
exception that would otherwise be raised.

This should also fix Rigify report blender/blender-addons#105241.

Pull Request: https://projects.blender.org/blender/blender/pulls/119625
2024-03-19 10:05:22 +01:00
..
bmesh Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
generic Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
gpu Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
intern Fix #119623: Anim: unintended API change in keyframe_insert() function 2024-03-19 10:05:22 +01:00
mathutils Revert changes from main commits that were merged into blender-v4.1-release 2024-03-18 15:04:12 +01:00
BPY_extern.h License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
BPY_extern_clog.h License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
BPY_extern_python.h PyAPI: free internal Python data using sys.exit(..) 2023-09-19 15:50:41 +10:00
BPY_extern_run.h License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
CMakeLists.txt License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
rna_dump.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00