mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
CURA-5330 Add return type to some constructors
This commit is contained in:
parent
6e364f0895
commit
f1b0c6238f
4 changed files with 4 additions and 4 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue