blender/tests
Sybren A. Stüvel 83311ef96d Fix #122777: The keyframe_insert method throws python exceptions
Just for the `pyrna_struct_keyframe_insert()` function, reduce the
reporting level of keyframe insertion failures from `RPT_ERROR` to
`RPT_WARNING`. This prevents the conversion of these reports to a Python
exception.

`CombinedKeyingResult::generate_reports()` now accepts an option
argument `report_level`, so that the caller is in control over the type
of reports it generates.

Previously only errors were converted to exceptions; warnings were
implicitly cleared and never displayed. To avoid these 'keyframe
insertion failure' reports from becoming invisible, the
`pyrna_struct_keyframe_insert()` function now sends any warnings to
stdout (unless there were errors, in which case the old
error-to-exception behaviour is still there).

Pull Request: https://projects.blender.org/blender/blender/pulls/122827
2024-06-11 11:11:16 +02:00
..
blender_as_python_module License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
data@dcdda07d27 Cycles: Implement blue-noise dithered sampling 2024-06-05 02:29:47 +02:00
gtests Fix: Update tests data path to new directory 2024-02-22 14:25:54 +01:00
performance Fix: Benchmarks auto build not working with new lib directories 2024-06-06 19:52:55 +02:00
python Fix #122777: The keyframe_insert method throws python exceptions 2024-06-11 11:11:16 +02:00
utils Tests: update default library path for batch blendfile loader 2024-02-23 14:57:05 +11:00
CMakeLists.txt Cleanup: line length in CMake files 2024-03-07 13:26:55 +11:00