mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-16 18:59:39 +08:00
Select default extruder if a setting has an extruder nr that's not available
Fixes Sentry issue CURA-G2.
This commit is contained in:
parent
ea31d9d41b
commit
3d399672d0
@ -248,6 +248,8 @@ class ExtruderManager(QObject):
|
||||
extruder_nr = int(global_stack.getProperty(extruder_nr_feature_name, "value"))
|
||||
if extruder_nr == -1:
|
||||
continue
|
||||
if str(extruder_nr) not in self.extruderIds:
|
||||
extruder_nr = int(self._application.getMachineManager().defaultExtruderPosition)
|
||||
used_extruder_stack_ids.add(self.extruderIds[str(extruder_nr)])
|
||||
|
||||
# Check support extruders
|
||||
|
Loading…
x
Reference in New Issue
Block a user