diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 9c4ea14e42..c745ba168e 100644 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -39,13 +39,13 @@ class BuildVolume(SceneNode): self._onActiveInstanceChanged() def setWidth(self, width): - self._width = width + if width: self._width = width def setHeight(self, height): - self._height = height + if height: self._height = height def setDepth(self, depth): - self._depth = depth + if depth: self._depth = depth def getDisallowedAreas(self): return self._disallowed_areas