Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLipu Fei <lipu.fei815@gmail.com>2017-06-21 15:47:57 +0300
committerLipu Fei <lipu.fei815@gmail.com>2017-06-21 15:48:54 +0300
commit7fe5c2ad07d571e03ef31b5ba695584405e22a5a (patch)
treec9d1c842b545aac437d07f3fe7f79cea611d3bb7 /cura/BuildVolume.py
parent015c253252ffb7235a45e86d060a3c496338656e (diff)
Fix code style
CURA-3663
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py3
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")