Blender Git Loki

Git Commits -> Revision c8d59b6

Revision c8d59b6 by Gaia Clary (master)
October 4, 2021, 19:23 (GMT)
Make keyframe inserts/removals less verbose when called from python.

Following operators now only report messages back when they are called via their invoke-methods:

- ANIM_OT_keyframe_insert
- ANIM_OT_keyframe_insert_by_name
- ANIM_OT_keyframe_insert_menu
- ANIM_OT_keyframe_delete
- ANIM_OT_keyframe_clear_v3d
- ANIM_OT_keyframe_delete_v3d

Also removed the attribute confirm_success from the following operators:

- ANIM_OT_keyframe_insert
- ANIM_OT_keyframe_insert_by_name
- ANIM_OT_keyframe_insert_menu
- ANIM_OT_keyframe_delete
- ANIM_OT_keyframe_delete_by_name

Note: addons/scripts possibly need to be updated if they use the above operators AND set the "confirm_success" attribute

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D12697

Commit Details:

Full Hash: c8d59b60b5aa277a63277a39e794590eafa2e998
Parent Commit: 3391a2e
Lines Changed: +34, -81

2 Modified Paths:

/release/scripts/startup/bl_operators/rigidbody.py (+1, -1) (Diff)
/source/blender/editors/animation/keyframing.c (+33, -80) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021