Blender Git Commit Log

Git Commits -> Revision c645da9

Revision c645da9 by Hans Goudey (master)
November 16, 2020, 15:59 (GMT)
Fix T82439: Crash moving collections between scenes

The original code for viewlayer collection flag syncing across moves
from D9158 didn't consider the case where the collection could no longer
be found in its original view layer (moving a collections betwen scenes).

The fix is to just check if the collection starts in the same scene as
it will be moved to before trying to do the flag syncing. I thought about
this for a while and tried a couple other solutions, but I couldn't come
up with a proper way to support syncing the layer collection flags across
scenes without making too many changes.

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

Commit Details:

Full Hash: c645da98d8727e636c14383f4c10706c6cc5ead2
Parent Commit: 75af316
Lines Changed: +11, -3

1 Modified Path:

/source/blender/blenkernel/intern/collection.c (+11, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021