mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Use extruder positions directly
...instead of the keys in the _current_root_material_id map. Contributes to issue CURA-4606.
This commit is contained in:
parent
1db8c967f2
commit
f40e9bffa9
1 changed files with 2 additions and 2 deletions
|
@ -872,9 +872,9 @@ class MachineManager(QObject):
|
|||
container = extruder.userChanges
|
||||
container.setProperty(setting_name, property_name, property_value)
|
||||
|
||||
@pyqtProperty("QVariantList", notify = rootMaterialChanged)
|
||||
@pyqtProperty("QVariantList", notify = globalContainerChanged)
|
||||
def currentExtruderPositions(self):
|
||||
return sorted(list(self._current_root_material_id.keys()))
|
||||
return sorted(list(self._global_container_stack.extruders.keys()))
|
||||
|
||||
@pyqtProperty("QVariant", notify = rootMaterialChanged)
|
||||
def currentRootMaterialId(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue