mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
We now ask the stack for the position (instead of definition)
This commit is contained in:
parent
5d19113f8e
commit
f51cffdf2e
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ class ExtrudersModel(UM.Qt.ListModel.ListModel):
|
|||
material = extruder.findContainer({ "type": "material" })
|
||||
if material:
|
||||
extruder_name = "%s (%s)" % (material.getName(), extruder_name)
|
||||
position = extruder.getBottom().getMetaDataEntry("position", default = "0") #Position in the definition.
|
||||
position = extruder.getMetaDataEntry("position", default = "0") # Get the position
|
||||
try:
|
||||
position = int(position)
|
||||
except ValueError: #Not a proper int.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue