Fix: VSE wrong mouse over assert #123130

Closed
Aras Pranckevicius wants to merge 1 commits from aras_p/blender:vse_fix_assert into blender-v4.2-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

View File

@ -1019,8 +1019,6 @@ static blender::Vector<Sequence *> mouseover_strips_sorted_get(const Scene *scen
strips.append(seq);
}
BLI_assert(strips.size() <= 2);
/* Ensure, that `seq1` is left strip and `seq2` right strip. */
if (strips.size() == 2 && strip_to_frame_distance(scene, v2d, strips[0], mouse_co[0]) <
strip_to_frame_distance(scene, v2d, strips[1], mouse_co[0]))