Blender Git Loki

Git Commits -> Revision fc94932

June 7, 2021, 14:58 (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: fc94932596d2321e0ed3c074be690e194b844f90
Parent Commit: 97e363a
Committed By: Jacques Lucke
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021