mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Fixes for resetting print time information when removing all or last model, reduce signals being used for print time resetting - CURA-4852
This commit is contained in:
parent
3fb9877a30
commit
6c9d7b5a2e
3 changed files with 30 additions and 11 deletions
|
@ -1066,12 +1066,12 @@ class CuraApplication(QtApplication):
|
|||
for node in nodes:
|
||||
op.addOperation(RemoveSceneNodeOperation(node))
|
||||
|
||||
# Reset the print information
|
||||
self.getController().getScene().sceneChanged.emit(node)
|
||||
|
||||
op.push()
|
||||
Selection.clear()
|
||||
|
||||
# Reset the print information:
|
||||
self.getController().getScene().sceneChanged.emit(node)
|
||||
|
||||
## Reset all translation on nodes with mesh data.
|
||||
@pyqtSlot()
|
||||
def resetAllTranslation(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue