mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Perobject settings now use correct stacks to calculate values
CURA-1754
This commit is contained in:
parent
6f46ed35fc
commit
7ff1b937e3
2 changed files with 6 additions and 2 deletions
|
@ -212,7 +212,7 @@ class StartSliceJob(Job):
|
|||
def _handlePerObjectSettings(self, node, message):
|
||||
stack = node.callDecoration("getStack")
|
||||
# Check if the node has a stack attached to it and the stack has any settings in the top container.
|
||||
if stack and stack.getTop().getAllKeys():
|
||||
if stack:
|
||||
# Because we want to use inheritance correctly, we send all settings as seen from the per object stack.
|
||||
for key in stack.getAllKeys():
|
||||
setting = message.addRepeatedMessage("settings")
|
||||
|
|
|
@ -127,7 +127,11 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
// Ensure primary extruder is set as active
|
||||
UM.ActiveTool.setProperty("SelectedActiveExtruder", extruders_model.getItem(0).id)
|
||||
}
|
||||
onActivated: UM.ActiveTool.setProperty("SelectedActiveExtruder", extruders_model.getItem(index).id);
|
||||
onModelChanged: updateCurrentIndex();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue