Hi guys, I’m updating one of my addons and one things I can’t seem to do is disable view layers in command line renders. I know the “Render Single Layer” setting doesn’t work for CLI renders (as per the tooltip). But it seems disabling the layers and enabling a single one also doesn’t work?
I run this code from a python script passed with -P:
for l in scene.view_layers:
l.use = (l.name == job["layer"])