mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 09:49:00 +08:00
Fixed not always updating objects list when changing build plate number by adding signals. CURA-4525
This commit is contained in:
parent
24ad68aeb5
commit
9ff15bf72d
@ -14,9 +14,13 @@ class BuildPlateDecorator(SceneNodeDecorator):
|
||||
# Make sure that groups are set correctly
|
||||
# setBuildPlateForSelection in CuraActions makes sure that no single childs are set.
|
||||
self._build_plate_number = nr
|
||||
if self._node is not None:
|
||||
self._node.transformationChanged.emit()
|
||||
#self._node.transformationChanged.emit()
|
||||
if self._node and self._node.callDecoration("isGroup"):
|
||||
for child in self._node.getChildren():
|
||||
child.callDecoration("setBuildPlateNumber", nr)
|
||||
child.transformationChanged.emit()
|
||||
|
||||
def getBuildPlateNumber(self):
|
||||
return self._build_plate_number
|
||||
|
Loading…
x
Reference in New Issue
Block a user