vtkLight::ShallowClone() doesn't copy ShadowAttenuation
I noticed this in the Python package:
>>> import vtk
... light = vtk.vtkLight()
... light.SetShadowAttenuation(0.5)
... light.ShallowClone().GetShadowAttenuation() # expected: 0.5
1.0
And sure enough I don't seem to find ShadowAttenuation
being set at https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/Core/vtkLight.cxx#L91-115.
I would expect ShallowClone()
to copy the ShadowAttenuation
as well.