Bugfix: allow 0 for noise
This commit is contained in:
parent
98fac7e874
commit
7e174381b8
@ -45,7 +45,7 @@ class AOpticalComponent(IRadiant):
|
|||||||
self.__parent = parent
|
self.__parent = parent
|
||||||
if transreflectivity:
|
if transreflectivity:
|
||||||
self.__transreflectivity = transreflectivity
|
self.__transreflectivity = transreflectivity
|
||||||
if noise:
|
if noise is not None:
|
||||||
self.__noise = noise
|
self.__noise = noise
|
||||||
self.__obstruction = obstruction
|
self.__obstruction = obstruction
|
||||||
self.__obstructor_temp = obstructor_temp
|
self.__obstructor_temp = obstructor_temp
|
||||||
|
Loading…
Reference in New Issue
Block a user