Blender Git Loki

Blender Git "asset-engine" branch commits.

Page: 56 / 79

July 3, 2015, 23:42 (GMT)
Merge branch 'master' into asset-experiments
July 2, 2015, 19:22 (GMT)
Merge branch 'master' into asset-experiments

Conflicts:
source/blender/blenlib/BLI_ghash.h
July 2, 2015, 11:31 (GMT)
Add API to IMB_thumb to enable thread safety.

Indeed, though rather unlucky, we may end up handling same source file from
different preview threads, which could lead to conflicts and bugs.

So idea is to add a simple way of locking a given source file path, since
thumb handling of different paths shall never conflict.

Note that this adds some 'generic' stuff to GHash and Threads area, that are to
be committed separately of course.
July 2, 2015, 10:01 (GMT)
Previews: do not keep preview task and timer running continuously in 'Preview' mode.

The task was not so annoying (workers are just sleeping anyway), but having the timer
always checking for updates was not so nice. This remains quite minor optimization probably...

So now, we do not start anymore preview task when enabling previews. This is deferred
to the moment we really need it (i.e. when we cache block of entries currently visible).
Preview timer is started at the same time.

Further more, when preview task has been inactive for about one second (i.e. all
queued previews have been handled, and no new one have been queued), we free it
(switching to some kind of 'standby' mode).

This also allows to avoid stoping/restarting preview tasks on each redraw when user is scrolling.
July 1, 2015, 15:43 (GMT)
Remove queing TODO previews when starting preview task, this is already handled
(in a better way) by filelist_file_cache_block().
July 1, 2015, 14:40 (GMT)
Fix windows bug with scons builds.

Classical bool vs char value mismatch... Here it was leading to a constant re-filtering
of the list, which invalidates cached previews.

Strange thing is, it would look as if Windows CMake builds are using 'real' bool,
while scons ones are using fake char-based one?
July 1, 2015, 14:28 (GMT)
Merge branch 'master' into asset-experiments
June 30, 2015, 17:17 (GMT)
Merge branch 'master' into asset-experiments
June 29, 2015, 12:55 (GMT)
Merge branch 'master' into asset-experiments
June 28, 2015, 18:22 (GMT)
Merge branch 'master' into asset-experiments
June 27, 2015, 22:16 (GMT)
Be much smarter with file size display...
June 27, 2015, 21:42 (GMT)
Merge branch 'master' into asset-experiments

Conflicts:
source/blender/blenlib/intern/BLI_filelist.c
June 27, 2015, 21:26 (GMT)
Merge branch 'asset-experiments' into asset-engine

Conflicts:
release/scripts/startup/bl_ui/space_filebrowser.py
source/blender/editors/space_file/filelist.c
June 27, 2015, 21:15 (GMT)
Merge branch 'master' into asset-experiments
June 19, 2015, 12:31 (GMT)
Filebrowser internal listing & UUIDs: simpler & safer UUIDs generation.

Instead of computing MD5sum of paths, just use incremental UUIDs!
There meaning and lifetime for internal listing is very limited anyway,
they shall only be unique for a given listing.

Note about using atomic op here: did it because it's nice use case,
not sure it's worth adding atomic stuff to /editors area though?
June 19, 2015, 11:04 (GMT)
Remove copying of preview data for objects and groups datablocks.

Those get temporarily duplicated by renderers (Cycles, Freestyle),
not nice to have useless memory usage here.
June 19, 2015, 11:01 (GMT)
Various minor cleanup & fixes from review.
June 19, 2015, 10:33 (GMT)
Merge branch 'master' into asset-experiments
June 19, 2015, 09:44 (GMT)
Merge branch 'master' into asset-experiments
June 18, 2015, 09:53 (GMT)
Merge branch 'master' into asset-experiments
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021