mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 15:51:12 -07:00
Add missing super init call - CURA-4525
This commit is contained in:
parent
11a4845931
commit
4685230d8d
1 changed files with 2 additions and 0 deletions
|
|
@ -8,7 +8,9 @@ from cura.Settings.SettingOverrideDecorator import SettingOverrideDecorator
|
||||||
|
|
||||||
## Simple operation to set the buildplate number of a scenenode.
|
## Simple operation to set the buildplate number of a scenenode.
|
||||||
class SetBuildPlateNumberOperation(Operation):
|
class SetBuildPlateNumberOperation(Operation):
|
||||||
|
|
||||||
def __init__(self, node: SceneNode, build_plate_nr: int) -> None:
|
def __init__(self, node: SceneNode, build_plate_nr: int) -> None:
|
||||||
|
super().__init__()
|
||||||
self._node = node
|
self._node = node
|
||||||
self._build_plate_nr = build_plate_nr
|
self._build_plate_nr = build_plate_nr
|
||||||
self._previous_build_plate_nr = None
|
self._previous_build_plate_nr = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue