Page MenuHome

Fix T61520: Incorrect assignment of layers to compositor nodes in 2.8 when reading 2.79 .blend
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Feb 14 2019, 10:51 AM.

Diff Detail

Repository
rB Blender

Event Timeline

Looks like this is caused by adding a vanilla "Viewport" viewlayer and making it the first in the list
(special case in do_version_layers_to_collections() if there are layer overrides...)

Render Layers node stores an index to viewlayers afaics and by just making a new viewlayer the first here is shifting all others by one...
Not sure why the new vanilla "Viewport" viewlayer needs to be the first in the list?
If that needs to be the case, then Render Layers nodes indices need to be corrected as well, I guess.
But just removing the "push-to-head" for the new vanilla viewlayer also solves this issue

This revision is now accepted and ready to land.Feb 14 2019, 12:02 PM

I can't see a reason why it must be first in the list.

Harbormaster completed remote builds in B2927: Diff 13670.
Harbormaster completed remote builds in B2927: Diff 13670.
Harbormaster completed remote builds in B2927: Diff 13670.
This revision was automatically updated to reflect the committed changes.