This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender
Bastien Montagne a36c43fc8c Thumbnails: some reorganization, decouple actual path of file to preview from 'ref' one.
(Partial) backport from asset-experiments branch.

Reorganization: previously we could recompute name/path of thumb file two or three times,
now added lower-level internal functions that take those as parameters, so in most case
they are computed only once. Very minor optimization, but simple too.

Also, path of file to preview is now decoupled from path used to generate its URI
(and hence thumbnail path). In asset-experiments branch this is needed because
we also handle datablock previews in/as thumbnails (file_path is .blend path,
URI is .blend path + datablock 'path').

Here this will be needed for same kind of reason - once translated, font thumbnails
need to be re-generated when we change current language...
2015-04-10 15:34:31 +02:00
..
2014-10-29 14:15:21 +01:00
2015-04-08 10:38:19 +10:00
2015-04-10 22:06:28 +10:00
2015-04-07 20:27:08 +10:00
2015-04-06 10:40:12 -03:00
2015-01-29 15:35:06 +11:00
2015-04-06 10:40:12 -03:00
2015-04-10 13:41:57 +10:00
2015-04-10 13:41:57 +10:00
2015-04-08 16:48:15 +02:00
2015-04-06 10:40:12 -03:00
2015-04-10 13:41:57 +10:00
2015-01-20 09:30:02 +01:00