Fix getting print_sequence setting

The setting is used to group items for one-at-a-time printing before they're sent to the engine. This properly gets the setting value under the new setting system.

Contributes to issues CURA-1278 and CURA-1588.
This commit is contained in:
Ghostkeeper 2016-05-23 16:06:38 +02:00
parent c996bcb191
commit 9dab21c4d0

View file

@ -50,7 +50,7 @@ class StartSliceJob(Job):
# Get the objects in their groups to print.
object_groups = []
if self._profile.getSettingValue("print_sequence") == "one_at_a_time":
if Application.getInstance().getGlobalContainerStack().getProperty("print_sequence", "value") == "one_at_a_time":
for node in OneAtATimeIterator(self._scene.getRoot()):
temp_list = []