CURA-4033 split update bounds for a single node in buildvolume and also call it from readMeshFinished

This commit is contained in:
Jack Ha 2018-01-17 17:01:03 +01:00
parent d19b2fb8d9
commit 8a53549bce
3 changed files with 44 additions and 26 deletions

View file

@ -1481,6 +1481,7 @@ class CuraApplication(QtApplication):
node.setSelectable(True)
node.setName(os.path.basename(filename))
self.getBuildVolume().checkBoundsAndUpdate(node)
extension = os.path.splitext(filename)[1]
if extension.lower() in self._non_sliceable_extensions: