1fc1878cd6fc3c9a75049ea6caac59ffe930f831
Part of the Jan 2025 Code Quality project described in #130975. This patch aims to improve user-facing messaging when adding effects or transitions, properly polling them out based on context, and avoiding unnecessary error messages when possible. - Rearrange "add Effect Strip" UI in order of required number of selected strips to create the effect strip, from 0 -> 1 -> 2 - Properly poll out these operators if not enough non-sound strips (i.e. any strips with video content) are selected. - Note that this does not require any extra iterations over the entire seqbase. - Gracefully avoid errors with trying to add effect/transition strips when sound strips are part of the selection: for example, when the user has selected connected strips. - In these cases, it is clear that the user wishes to operate on the strips with video content. - Refactor `seq_effect_find_selected` to fix bugs and account for all cases, removing TODOs in place. Rename it `seq_effect_get_new_inputs` to more accurately express its purpose. - Rename various `last_seq` to `active_strip` to adhere to new conventions laid out in #132736 - Update UI tooltips for effect, transition, and fades to make their use clearer. Pull Request: https://projects.blender.org/blender/blender/pulls/132672
…
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%
