Hi,
I made a script to create a sort of "advanced" SpotLight which includes a while sphere at the end of it to simulate a real geometry which can get reflected in surfaces etc, basically to fake the "affect reflections" checkbox of the normal VRayLights.
It includes a custom attribute under a new rollout in the light itself. Now it seems the VRayLightLister doesn't handle this well and crashes. Max file, and script attached.
As soon as I remove the custom attributes from said script and the light itself is 100% standard with no additions, it works.
Please note the attached max file was created with the section in the script responsible for the custom attribute commented out, so it works.
If you run the script with the attributes section uncommented, the error occurs as soon as you open the lightLister after having created the light by the script.
VRaySpotLight.zip
I made a script to create a sort of "advanced" SpotLight which includes a while sphere at the end of it to simulate a real geometry which can get reflected in surfaces etc, basically to fake the "affect reflections" checkbox of the normal VRayLights.
It includes a custom attribute under a new rollout in the light itself. Now it seems the VRayLightLister doesn't handle this well and crashes. Max file, and script attached.
As soon as I remove the custom attributes from said script and the light itself is 100% standard with no additions, it works.
Please note the attached max file was created with the section in the script responsible for the custom attribute commented out, so it works.
If you run the script with the attributes section uncommented, the error occurs as soon as you open the lightLister after having created the light by the script.
VRaySpotLight.zip
Comment