Fixup for doversion/layers: disable collections for scene layers
This commit is contained in:
parent
2ec01cc7c5
commit
34c99ee85b
|
@ -320,7 +320,7 @@ void do_versions_after_linking_280(Main *main)
|
|||
|
||||
/* Add new collection bases. */
|
||||
for (int layer = 0; layer < 20; layer++) {
|
||||
if ((srl->lay & (1 << layer)) != 0) {
|
||||
if ((srl->lay & (1 << layer)) && (scene->lay & (1 << layer))) {
|
||||
if (collections[DO_VERSION_COLLECTION_VISIBLE].created & (1 << layer)) {
|
||||
|
||||
LayerCollection *layer_collection_parent;
|
||||
|
|
Loading…
Reference in New Issue