Browse Source

Small fix for a regression in the ThreeMFWriter from the recent type hint merge.

Simon Edwards 8 years ago
parent
commit
2f89a1cff4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/3MFWriter/ThreeMFWriter.py

+ 1 - 1
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: