diff --git a/esbo_etc/classes/optical_component/AOpticalComponent.py b/esbo_etc/classes/optical_component/AOpticalComponent.py index aa9ef82..d0e12f6 100644 --- a/esbo_etc/classes/optical_component/AOpticalComponent.py +++ b/esbo_etc/classes/optical_component/AOpticalComponent.py @@ -45,7 +45,7 @@ class AOpticalComponent(IRadiant): self.__parent = parent if transreflectivity: self.__transreflectivity = transreflectivity - if noise: + if noise is not None: self.__noise = noise self.__obstruction = obstruction self.__obstructor_temp = obstructor_temp