Renames to from activeStack to global stack

CURA-1278
This commit is contained in:
Jaime van Kessel 2016-05-10 11:16:35 +02:00
parent dbd2c911ce
commit 04f1e8d27c
2 changed files with 6 additions and 9 deletions

View file

@ -37,10 +37,8 @@ class BuildVolume(SceneNode):
self.setCalculateBoundingBox(False)
self._active_profile = None
self._active_instance = None
Application.getInstance().activeContainerStackChanged.connect(self._onActiveContainerStackChanged)
self._onActiveContainerStackChanged()
Application.getInstance().globalContainerStackChanged.connect(self._onGlobalContainerStackChanged)
self._onGlobalContainerStackChanged()
def setWidth(self, width):
if width: self._width = width
@ -159,7 +157,7 @@ class BuildVolume(SceneNode):
Application.getInstance().getController().getScene()._maximum_bounds = scale_to_max_bounds
def _onActiveContainerStackChanged(self):
def _onGlobalContainerStackChanged(self):
self._active_container_stack = Application.getInstance().getGlobalContainerStack()
if self._active_container_stack: