mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Added extruder count detection to layer view. CURA-3273
This commit is contained in:
parent
5f6ed488d1
commit
5a2aa8846b
4 changed files with 54 additions and 10 deletions
|
@ -50,6 +50,7 @@ class ExtruderManager(QObject):
|
|||
except KeyError: # Extruder index could be -1 if the global tab is selected, or the entry doesn't exist if the machine definition is wrong.
|
||||
return None
|
||||
|
||||
## Return extruder count according to extruder trains.
|
||||
@pyqtProperty(int, notify = extrudersChanged)
|
||||
def extruderCount(self):
|
||||
if not UM.Application.getInstance().getGlobalContainerStack():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue