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
..
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-06-07 16:33:03 +10:00
2023-08-16 00:20:26 +10:00
2024-01-25 10:22:16 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-12-11 07:50:29 -05:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-04-08 12:03:03 +10:00
2023-08-16 00:20:26 +10:00
2024-02-07 09:42:23 +01:00
2023-08-16 00:20:26 +10:00
2024-05-24 16:51:36 +10:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2024-01-09 22:23:41 +11:00
2024-03-19 14:17:47 +11:00
2024-03-18 15:04:12 +01:00
2024-04-01 22:20:09 +11:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2023-11-21 09:42:39 -05:00
2024-05-04 16:42:08 +10:00
2024-05-09 09:51:11 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2024-06-06 09:55:13 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-06-01 16:17:02 +10:00
2024-06-01 16:17:02 +10:00
2024-04-27 21:44:55 +02:00
2023-08-16 00:20:26 +10:00
2024-01-19 20:29:43 +01:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-06-11 11:11:16 +02:00
2023-08-16 00:20:26 +10:00
2024-03-28 13:01:37 +11:00
2023-09-25 17:53:11 -04:00
2023-08-16 00:20:26 +10:00
2024-05-08 23:37:22 +10:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-01-08 15:24:59 +01:00
2023-08-16 00:20:26 +10:00
2024-03-28 13:01:37 +11:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-05-04 16:42:08 +10:00
2023-08-16 00:20:26 +10:00
2024-05-27 18:46:19 +02:00
2024-03-11 20:23:26 +11:00
2024-04-23 18:18:49 +10:00
2023-08-16 00:20:26 +10:00
2024-03-18 15:04:12 +01:00
2023-08-16 00:20:26 +10:00
2024-04-22 13:10:16 +02:00
2023-08-16 00:20:26 +10:00
2024-06-07 11:36:20 +10:00
2023-08-16 00:20:26 +10:00
2024-04-19 15:50:26 +10:00
2023-08-16 00:20:26 +10:00