CURA-5330 Add return type to some constructors

This commit is contained in:
Diego Prado Gesto 2018-06-13 11:01:30 +02:00
parent 6e364f0895
commit f1b0c6238f
4 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@ def prettier_color(color_list):
#
# This is useful to get a preview image of a scene taken from a different location as the active camera.
class PreviewPass(RenderPass):
def __init__(self, width: int, height: int):
def __init__(self, width: int, height: int) -> None:
super().__init__("preview", width, height, 0)
self._camera = None # type: Optional[Camera]