mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
Merge branch 'CURA-7248_fix_misp_config_detection' of github.com:Ultimaker/Cura
This commit is contained in:
commit
21e28089a8
1 changed files with 3 additions and 3 deletions
|
@ -74,11 +74,11 @@ class ExtruderConfigurationModel(QObject):
|
|||
# Empty materials should be ignored for comparison
|
||||
if self.activeMaterial is not None and other.activeMaterial is not None:
|
||||
if self.activeMaterial.guid != other.activeMaterial.guid:
|
||||
if self.activeMaterial.guid != "" and other.activeMaterial.guid != "":
|
||||
return False
|
||||
else:
|
||||
if self.activeMaterial.guid == "" and other.activeMaterial.guid == "":
|
||||
# At this point there is no material, so it doesn't matter what the hotend is.
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
if self.hotendID != other.hotendID:
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue