Bugfix: allow 0 for noise

This commit is contained in:
Lukas Klass 2020-06-08 11:34:49 +02:00
parent 98fac7e874
commit 7e174381b8
1 changed files with 1 additions and 1 deletions

View File

@ -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