mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Fix simple mode infill to work with multiple extruders
CURA-1778
This commit is contained in:
parent
90fa0f0564
commit
bff23598c6
2 changed files with 9 additions and 1 deletions
|
@ -236,6 +236,13 @@ class MachineManagerModel(QObject):
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
@pyqtProperty(str, notify = activeStackChanged)
|
||||||
|
def activeStackId(self):
|
||||||
|
if self._active_container_stack:
|
||||||
|
return self._active_container_stack.getId()
|
||||||
|
|
||||||
|
return ""
|
||||||
|
|
||||||
@pyqtProperty(str, notify = activeMaterialChanged)
|
@pyqtProperty(str, notify = activeMaterialChanged)
|
||||||
def activeMaterialName(self):
|
def activeMaterialName(self):
|
||||||
if self._active_container_stack:
|
if self._active_container_stack:
|
||||||
|
|
|
@ -371,7 +371,7 @@ Item
|
||||||
{
|
{
|
||||||
id: infillDensity
|
id: infillDensity
|
||||||
|
|
||||||
containerStackId: Cura.MachineManager.activeMachineId
|
containerStackId: Cura.MachineManager.activeStackId
|
||||||
key: "infill_sparse_density"
|
key: "infill_sparse_density"
|
||||||
watchedProperties: [ "value" ]
|
watchedProperties: [ "value" ]
|
||||||
storeIndex: 0
|
storeIndex: 0
|
||||||
|
@ -406,6 +406,7 @@ Item
|
||||||
watchedProperties: [ "value" ]
|
watchedProperties: [ "value" ]
|
||||||
storeIndex: 0
|
storeIndex: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.SettingPropertyProvider
|
UM.SettingPropertyProvider
|
||||||
{
|
{
|
||||||
id: supportExtruderNr
|
id: supportExtruderNr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue