From 2f89a1cff4ed79959dafc3f3dd6b6452975645b5 Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Thu, 16 Feb 2017 10:20:44 +0100 Subject: [PATCH] Small fix for a regression in the ThreeMFWriter from the recent type hint merge. --- plugins/3MFWriter/ThreeMFWriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/3MFWriter/ThreeMFWriter.py b/plugins/3MFWriter/ThreeMFWriter.py index eb065cecdc..c907752137 100644 --- a/plugins/3MFWriter/ThreeMFWriter.py +++ b/plugins/3MFWriter/ThreeMFWriter.py @@ -177,7 +177,7 @@ class ThreeMFWriter(MeshWriter): transformation_matrix._data[2, 1] = 1 transformation_matrix._data[2, 2] = 0 - global_container_stack = UM.Application.getInstance().getGlobalContainerStack() + global_container_stack = Application.getInstance().getGlobalContainerStack() # Second step: 3MF defines the left corner of the machine as center, whereas cura uses the center of the # build volume. if global_container_stack: