Blender Git Loki

Git Commits -> Revision 188ccfb

Revision 188ccfb by Richard Antalik (master)
March 24, 2020, 23:23 (GMT)
Fix T74662: Prefetching causes random crashes

Caused by 18b693bdbd6b, due to lack of thread safety.
Beteween calling BKE_sequencer_cache_get_num_items and BKE_sequencer_cache_iterate
New items could be inserted in the cache.

BKE_sequencer_cache_iterate() now use 2 callbcack functions for initial setup
during which buffers with correct length can be initialized and finally iterating.

Additionally drawing of unselected items was fixed again introduced in 18b693bdbd6b.

T74662 is reporting quite different symptoms, than I get on my machine, so I am not
entirely sure this is complete fix.

Reviewed By: brecht

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

Commit Details:

Full Hash: 188ccfb0dd6739fb6af8741aeecbc1da82c068ab
Parent Commit: e1c7549
Lines Changed: +98, -99

3 Modified Paths:

/source/blender/blenkernel/BKE_sequencer.h (+8, -5) (Diff)
/source/blender/blenkernel/intern/seqcache.c (+5, -17) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+85, -77) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021