Blender Git Commit Log

Git Commits -> Revision 925df8e

Revision 925df8e by Richard Antalik (master)
June 2, 2021, 19:41 (GMT)
VSE: Add strip-time intersection test function

Use SEQ_time_strip_intersects_frame function to test if strip intersects with frame.

Note: There are cases where this function should not be used. For example splitting
strips require at least 1 frame "inside" strip. Another example is drawing, where
playhead technically doesn't intersect strip, but it is rendered, because current
frame has "duration" or "thickness" of 1 frame.

Reviewed By: sergey

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

Commit Details:

Full Hash: 925df8ef26a353497c8088657a82b6b8545c67c1
Parent Commit: 2ee575f
Lines Changed: +24, -6

6 Modified Paths:

/source/blender/editors/space_sequencer/sequencer_select.c (+2, -1) (Diff)
/source/blender/sequencer/intern/render.c (+2, -1) (Diff)
/source/blender/sequencer/intern/strip_relations.c (+2, -2) (Diff)
/source/blender/sequencer/intern/strip_time.c (+15, -1) (Diff)
/source/blender/sequencer/intern/utils.c (+2, -1) (Diff)
/source/blender/sequencer/SEQ_time.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021