diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2017-06-21 15:47:57 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2017-06-21 15:48:54 +0300 |
commit | 7fe5c2ad07d571e03ef31b5ba695584405e22a5a (patch) | |
tree | c9d1c842b545aac437d07f3fe7f79cea611d3bb7 /cura/BuildVolume.py | |
parent | 015c253252ffb7235a45e86d060a3c496338656e (diff) |
Fix code style
CURA-3663
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-x | cura/BuildVolume.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 290b8ee2de..ff5888b722 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -104,7 +104,6 @@ class BuildVolume(SceneNode): # but it does not update the disallowed areas after material change Application.getInstance().getMachineManager().activeStackChanged.connect(self._onStackChanged) - def _onSceneChanged(self, source): if self._global_container_stack: self._change_timer.start() @@ -637,7 +636,7 @@ class BuildVolume(SceneNode): result[extruder.getId()] = [] #Currently, the only normally printed object is the prime tower. - if ExtruderManager.getInstance().getResolveOrValue("prime_tower_enable") == True: + if ExtruderManager.getInstance().getResolveOrValue("prime_tower_enable"): prime_tower_size = self._global_container_stack.getProperty("prime_tower_size", "value") machine_width = self._global_container_stack.getProperty("machine_width", "value") machine_depth = self._global_container_stack.getProperty("machine_depth", "value") |