cc97c55515d7c586623b4a0af26022cf8577607d
find_nearest_seq
The original function did extensive calculations to get the nearest handle, even though none of the calling functions used that information. Its functionality was very similar to `mouseover_strips_sorted_get`, except that it was less precise and did not factor in `STRIP_OFSBOTTOM/OFSTOP`. `mouseover_strips_sorted_get` is called by `ED_sequencer_pick_strip_and_handle`, so update all of the calling functions to use this instead. Refactor and replace `find_nearest_seq` into `mouseover_strip_get`, which does not factor in padded strip handles, and is used only by `ED_sequencer_special_preview_set` as a static function for scrubbing over strips. Pull Request: https://projects.blender.org/blender/blender/pulls/133744
…
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%
