83311ef96de3763b7f66dc2c138d6ad84fde0ea7
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
…
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.
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.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
