Blender Git Loki

Git Commits -> Revision 7772880

Revision 7772880 by Bastien Montagne (master)
August 13, 2021, 14:37 (GMT)
ViewLayer resync: Add sanity checks for objects/bases mappings.

Add a debug-only check regarding consistency of the cache (mapping from
objects to their bases) for a given ViewLayer.

Issues can happen otherwise when some code does remapping of objects,
and forgets to call `BKE_main_collection_sync_remap()` (which clears
those caches) instead of `BKE_main_collection_sync()`.

Commit Details:

Full Hash: 7772880d696c306fa41a27af65f7a21a9168c616
Parent Commit: 77744b5
Lines Changed: +54, -0

1 Modified Path:

/source/blender/blenkernel/intern/layer.c (+54, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021