Blender Git Loki

Blender Git "missing-libs" branch commits.

Page: 5 / 5

September 18, 2015, 13:44 (GMT)
Merge branch 'master' into missing-libs
September 17, 2015, 18:45 (GMT)
Serious rework (again) of append/link code, to make it more generic.

Making the code in WM area more generic (will be used by relocate libs feature too in future).
And multi-append/link shall no more close & re-open lib files for each and every idcode!

Also, serious cleanup of BLO_append_... API (renamed BLO_link_..., since it links and never appends!),
main real changes there are removing the bContext arg in favor of scene/v3d (a bit more verbose, but does
not requires a valid context anymore to be able to instanciate ob/groups!). And logic behind instanciating
or not has been simplified, previous code was really obscure and sometimes redondant, from quick tests
it still works as expected.

This is temp branch for until 2.76 is over, shall be merged in master asap then.
September 13, 2015, 13:19 (GMT)
Merge branch 'master' into missing-libs
September 10, 2015, 20:39 (GMT)
Merge branch 'master' into missing-libs
September 3, 2015, 14:16 (GMT)
Merge branch 'master' into missing-libs
August 30, 2015, 09:55 (GMT)
Merge branch 'master' into missing-libs
August 22, 2015, 13:11 (GMT)
Merge branch 'master' into missing-libs
August 2, 2015, 15:50 (GMT)
Merge branch 'master' into missing-libs
July 21, 2015, 06:07 (GMT)
Merge branch 'master' into missing-libs
July 17, 2015, 19:13 (GMT)
Merge branch 'master' into missing-libs
July 16, 2015, 17:53 (GMT)
Merge branch 'master' into missing-libs
July 15, 2015, 18:38 (GMT)
Fix rebase mess :/
July 15, 2015, 18:36 (GMT)
Add outliner's visualization for broken libs, and also tag lib ID itself as missing.
July 15, 2015, 18:36 (GMT)
Handling missing libs: changed idea, now adding 'real' empty data.

Just having 'NULL' data as placeholder is not really possible, too much places
to check against that.

WIP commit, still much to be done!

See T43351 for details.

Differential Revision: https://developer.blender.org/D1394
July 15, 2015, 18:36 (GMT)
Add remaning 'init' callbacks for needed ID types.

Note all this remains a bit theoretical, some cases (ID types) are a bit delicate to handle here.7
Time and tests will say if it's OK as is.
July 15, 2015, 18:36 (GMT)
Add some checks in BKE_xxx_init() that data is really NULLified.

Needed, since trying to (re)init data already set could lead to many issues,
and handling this is not in the scope of this function.

Note that definition of BLI_memcmp_null stuff is rather bad currently, no good idea where to place this. :|
July 15, 2015, 18:36 (GMT)
Very first step to handle missing libs/datablocks when reading a file.

Idea is, instead of ignoring completely missing linked datablocks, to
create void placeholders for them.

That way, you can work on your file, save it, and find again your missing data once
lib becomes available again.

Plans are also to be able to locate missing libs and reload them at runtime.

To support all that, we must be able to make Blender survive those missing data
(i.e. empty datablocks) all over the place. This commit contains some early work
in that direction, but this will need much much more work!
July 15, 2015, 18:36 (GMT)
Icons: Add new 'library_data_broken' one.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021