Blender Git Commit Log

Git Commits -> Revision 659ccd9

Revision 659ccd9 by Brecht Van Lommel (master)
September 19, 2019, 09:32 (GMT)
Fix T66154: viewlayer hide/exclude settings getting lost for linked collections

The problem was that the object and collection pointers in Base and
LayerCollection would get lost of file read. Normally such ID pointers would
be resolved by pointing to an ID_ID placeholder which has the datablock name,
and then replacing it will the real datablock. However ID_ID is only written
for directly linked datablocks.

This adds the concept of an indirectly linked datablock with a weak reference
to it. For this we write an ID_ID_WEAK_REF code, which is a reference that
will only be resolved if the datablock was read for another reason.

Differential Revision: https://developer.blender.org/D4416

Commit Details:

Full Hash: 659ccd9cd2ee79c462147b53c18ecc8b9faf74a6
Parent Commit: e7a5143
Lines Changed: +101, -14

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019