CURA-4870 Fix an error in the hash function that detects a matching when

the extruders are inverted.
Add pretty output to the configuration model.
This commit is contained in:
Diego Prado Gesto 2018-03-06 08:44:43 +01:00
parent 51686943e6
commit d83eb383d9
3 changed files with 20 additions and 6 deletions

View file

@ -191,8 +191,9 @@ class MachineManager(QObject):
@pyqtSlot(QObject, result = bool)
def matchesConfiguration(self, configuration: ConfigurationModel) -> bool:
# print("@@@@@@@@@@@@@@@@@@", configuration.extruderConfigurations)
# print("##################", self._current_printer_configuration.extruderConfigurations, configuration == self._current_printer_configuration)
# print(configuration)
# print(self._current_printer_configuration)
# print("%%%%%%%%", configuration == self._current_printer_configuration)
return self._current_printer_configuration == configuration
@property