mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Don't switch away from disabled extruder
In some situations this could cause a slowdown, since halfway through calculating the values the extruder switch would happen. If this is split up a bit, it's at least less noticeable Contributes to #8250
This commit is contained in:
parent
c383fe9656
commit
6dbdee8d98
1 changed files with 1 additions and 5 deletions
|
@ -984,10 +984,6 @@ class MachineManager(QObject):
|
|||
self.updateNumberExtrudersEnabled()
|
||||
self.correctExtruderSettings()
|
||||
|
||||
# In case this extruder is being disabled and it's the currently selected one, switch to the default extruder
|
||||
if not enabled and position == ExtruderManager.getInstance().activeExtruderIndex:
|
||||
ExtruderManager.getInstance().setActiveExtruderIndex(int(self._default_extruder_position))
|
||||
|
||||
# Ensure that the quality profile is compatible with current combination, or choose a compatible one if available
|
||||
self._updateQualityWithMaterial()
|
||||
self.extruderChanged.emit()
|
||||
|
@ -995,7 +991,7 @@ class MachineManager(QObject):
|
|||
self.activeQualityGroupChanged.emit()
|
||||
# Update items in SettingExtruder
|
||||
ExtruderManager.getInstance().extrudersChanged.emit(self._global_container_stack.getId())
|
||||
|
||||
|
||||
# Also trigger the build plate compatibility to update
|
||||
self.activeMaterialChanged.emit()
|
||||
self.activeIntentChanged.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue