956d8379a4e289e99a2dc2f6fa55ce60bfba985b
With this PR, when pressing `I` in the viewport and the code is unable to insert **ANY** keyframes, the user will be presented with a single message detailing exactly why it has failed. This PR promotes the functionality introduced in #117449 into the header file so it can be used elsewhere. The `CombinedKeyingResult` class is returned from `insert_key_action` and `insert_key_rna`, and used to produce a single report from the operator if it failed to insert any keyframes. In order to easily create a report from a `CombinedKeyingResult` the function `generate_keyframe_reports_from_result` has been moved into the class as `generate_reports`. In addition to that the `UNABLE_TO_INSERT_TO_NLA_STACK` result has been added. This notifies the user if keyframe insertion is not possible due to NLA stack settings. Pull Request: https://projects.blender.org/blender/blender/pulls/119201
…
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%
