Blender Git Loki

Git Commits -> Revision 80469a7

March 31, 2021, 11:08 (GMT)
Prevent preview loading from triggering continuous redraws

The preview rendering notifiers would be continuously sent, causing
continuous redraws. In the File Browser that also happens (and I don't
think it's intentionaly) although it causes refreshes there that don't
do much and there won't be redraws unless necessary. Correcting this may
cause issues, so better to do it separately.

Issue is that the previews were fetched using the BLI_task API, and a
timer was started to send notifiers continuously. But there was nothing
to check if the tasks were done, so that the timer could be stopped.

Commit Details:

Full Hash: 80469a7675af80e82a6815bc13f7cdfb06275f50
Parent Commit: a0a0edc
Lines Changed: +24, -2

3 Modified Paths:

/source/blender/editors/asset/asset_list.cc (+2, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+21, -1) (Diff)
/source/blender/editors/space_file/filelist.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