Blender Git Loki

Git Commits -> Revision 339f442

Revision 339f442 by Bastien Montagne (master)
November 10, 2020, 16:16 (GMT)
Fix (unreported) potential assert in viewlayer synchronization.

Some operations, like remapping and ID (Object) to another, can lead to
having the same object in more than one base.

While this is not a valid state, this is being taken care of by the
`BKE_layer_collection_sync` call, so the object-to-base GHash generation
itself should be resilient to such issue.

Note: another way to fix this would be to make remapping post-process
code check explicitely for such doublons, but I would rather avoid
adding even more 'specialized' code there, it already has to deal with
too many of those corner cases.

Commit Details:

Full Hash: 339f442a9327d6eeb1bc7a52be702ea9b461df72
Parent Commit: 626a792
Lines Changed: +7, -1

1 Modified Path:

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