From ca9617bb57c4641307608749208a34145abb2f18 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Wed, 14 Oct 2015 13:29:35 -1000 Subject: [PATCH] Actually return the bounds for temp schematics --- src/mcedit2/imports.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mcedit2/imports.py b/src/mcedit2/imports.py index c063dc4..fa555f2 100644 --- a/src/mcedit2/imports.py +++ b/src/mcedit2/imports.py @@ -425,7 +425,8 @@ class PendingImport(QtCore.QObject): log.info("Move: using temporary") export = extractSchematicFromIter(sourceDim, self.selection) schematic = showProgress(self.tr("Copying..."), export) - return schematic.getDimension(), schematic.bounds + tempDim = schematic.getDimension() + return tempDim, tempDim.bounds # Use source as-is if self.transformedDim is not None: