From 0b92c3f3dff3b073bb2a9cdc680f13cf7a9b567d Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 10 Sep 2019 14:56:16 +0200 Subject: [PATCH] Use .container property rather than deprecated getContainer() function Contributes to issue CURA-6600. --- cura/Machines/Models/IntentModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Machines/Models/IntentModel.py b/cura/Machines/Models/IntentModel.py index 61fdecb559..e4b297093f 100644 --- a/cura/Machines/Models/IntentModel.py +++ b/cura/Machines/Models/IntentModel.py @@ -119,7 +119,7 @@ class IntentModel(ListModel): # Get layer_height from the quality profile for the GlobalStack if quality_group.node_for_global is None: return float(default_layer_height) - container = quality_group.node_for_global.getContainer() + container = quality_group.node_for_global.container layer_height = default_layer_height if container and container.hasProperty("layer_height", "value"):