Page MenuHome

File Output node doesn't keep layer names when switched to Multilayer EXR
Open, NormalPublic

Description

System Information
Win10 64bit

Blender Version
Broken: 2.79

Exact steps for others to reproduce the error
Open file, change file type in File Output node from PNG to Multilayer EXR -> names set to default, changing to others works good.

Details

Type
To Do

Event Timeline

Layer names and file subpaths are not interchangeable.

When Multilayer OpenEXR is selected the layer name is rendered next to the socket.
For the other file types the File Subpath is rendered next to the socket.

Hence when switching different names are displayed. They are not set back to default.

Philipp Oeser (lichtwerk) triaged this task as Normal priority.

Like @Jeroen Bakker (jbakker) said: layer name and File Subpath are not interchangable.
A File Output node comes with one input by default (which is called "Image")
What happens when you Add Input for the File Output node is that unique new names get reserved for a new layer and a new File Subpath
So you have a new File Subpath called "Image_001" and a new layer called "Image_001"
When you rename one of them, the other wont get synched

Same is true for the reverse btw.:
If you switch to MultilayerEXR first, add a layer, rename it and the switch to PNG, it's also not in sync

I dont think this is a bug, more of a TODO (if desired at all), but what could be done is whenever one of NodeOutputFileSlotFile.path or NodeOutputFileSlotLayer.name gets changed, find the corresponding other and change it accordingly as well...
@Jeroen Bakker (jbakker): think this is desireable? (could work on a patch then)

Philipp Oeser (lichtwerk) changed Type from Bug to To Do.Apr 25 2018, 1:59 PM