Bugfix: allow 0 for noise
This commit is contained in:
1 parent
98fac7e874
commit
7e174381b8
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user