Blender Git Loki

Git Commits -> Revision 70eb043

May 2, 2016, 18:35 (GMT)
Change how Amber (and all other engines) are expected to work.

So far, we were accepting the idea of several repositories per asset engine (e.g. different
directories in case of Amber). However, if this works OK during listing/initial linking,
it makes things way more complicated later in asset management, since asset uuid is no more
enough to unically indentify an asset!

Now an asset UUID is assumed to be really unique inside an asset engine.

For Amber, we 'salt' assets' uuids with new repo uuids (both being only 2 ints long now),
and keep a config 'cache' of mapping repo uuid -> path to repo.

Commit Details:

Full Hash: 70eb04328ca02312e8e93d446a40ca4170a5c441
Parent Commit: a47653e
Lines Changed: +73, -36

2 Modified Paths:

/release/scripts/startup/bl_operators/amber.py (+73, -35) (Diff)
/source/blender/makesrna/intern/rna_asset.c (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021