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

This commit is contained in:
Simon Edwards 2017-02-16 10:20:44 +01:00
parent b34bb26a1a
commit 2f89a1cff4

View file

@ -177,7 +177,7 @@ class ThreeMFWriter(MeshWriter):
transformation_matrix._data[2, 1] = 1 transformation_matrix._data[2, 1] = 1
transformation_matrix._data[2, 2] = 0 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 # Second step: 3MF defines the left corner of the machine as center, whereas cura uses the center of the
# build volume. # build volume.
if global_container_stack: if global_container_stack: