Option for layer's rendering options to affect lights visibility

Hey guys,

We got an interesting request recently - to have VRayLights visibility be affected by the respective layer’s Rendering Control “Visible to Camera”. The idea is to not have to switch the Invisible option for each light in the layer manually, which will be very handy for people managing huge scenes.

Since this will be a relatively global change for everyone using layer’s Rendering Control - I would like to hear your thoughts.

We will probably need to add a new option in V-Ray’s Global switches for controlling this behaviour.

That would be welcomed here. Not a huge deal to change a bunch via the script editor, but we do use Visible To Camera a lot to control things for VFX. So that might save a step.