Bounding box will no longer sing first part of batman theme

CURA-2963
This commit is contained in:
Jaime van Kessel 2016-11-23 16:36:09 +01:00
parent b6df2b90dd
commit c00775c488

View file

@ -632,7 +632,7 @@ class CuraApplication(QtApplication):
if not scene_bounding_box:
scene_bounding_box = AxisAlignedBox.Null
if repr(self._scene_bounding_box) != repr(scene_bounding_box):
if repr(self._scene_bounding_box) != repr(scene_bounding_box) and scene_bounding_box.isValid():
self._scene_bounding_box = scene_bounding_box
self.sceneBoundingBoxChanged.emit()