Blender Git Loki

Git Commits -> Revision 74557ca

Revision 74557ca by Bastien Montagne (master)
March 12, 2021, 11:31 (GMT)
LibOverride: Add a new operation to Outliner to enforce resync of hierarchies.

This is basically done by ignoring override operations from old override
affecting ID pointer properties, when the new (destination) one is not
NULL.

Fix T86501: New object added to overridden collection doesn't show up in linking file on Resync.

This is more of a work-around actually, since there is no real way to
fix the issue in a fully automated and consistent way, it is caused by
older blender files being saved with 'broken' overrides.

WARNING: This cannot ensure that some purposedly edited/overridden ID
pointer properties won't be lost in the process.

Commit Details:

Full Hash: 74557ca4f7cfe14090d6ca245e03e651b4b2524f
Parent Commit: fe2ceef
Lines Changed: +96, -11

5 Modified Paths:

/source/blender/blenkernel/BKE_lib_override.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/lib_override.c (+17, -6) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+31, -2) (Diff)
/source/blender/makesrna/intern/rna_access_compare_override.c (+35, -1) (Diff)
/source/blender/makesrna/RNA_access.h (+11, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021