mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Undo emit transformationChanges (caused a crash), themed objects in objects list. CURA-4525
This commit is contained in:
parent
2c831ceb05
commit
663ceab069
6 changed files with 19 additions and 15 deletions
|
@ -40,7 +40,11 @@ class BuildPlateModel(ListModel):
|
|||
def maxBuildPlate(self):
|
||||
return self._max_build_plate
|
||||
|
||||
def updateMaxBuildPlate(self, source):
|
||||
def updateMaxBuildPlate(self, *args):
|
||||
if args:
|
||||
source = args[0]
|
||||
else:
|
||||
source = None
|
||||
if not issubclass(type(source), SceneNode):
|
||||
return
|
||||
max_build_plate = self._calcMaxBuildPlate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue