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:
authorGhostkeeper <rubend@tutanota.com>2017-06-28 18:16:27 +0300
committerGhostkeeper <rubend@tutanota.com>2017-06-28 18:16:27 +0300
commitab384ba8ec7b1e1ed7afd4e510f89d8eade6c94c (patch)
tree9e00f876c1596c8fde63e48e1b86f0d12400cf93 /cura/BuildVolume.py
parent16564b319400e84c2e81a99b205810834798967b (diff)
Rename and invert moving disallowed areas metadata property
It's more easy semantically to invert this, to prevent the double negatives. Contributes to issue CURA-3663.
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py
index 33927c4a98..2ad3f4dda1 100755
--- a/cura/BuildVolume.py
+++ b/cura/BuildVolume.py
@@ -718,8 +718,8 @@ class BuildVolume(SceneNode):
# For certain machines we don't need to compute disallowed areas for each nozzle.
# So we check here and only do the nozzle offsetting if needed.
- no_nozzle_offsetting_for_disallowed_areas = self._global_container_stack.getMetaDataEntry(
- "no_nozzle_offsetting_for_disallowed_areas", False)
+ nozzle_offsetting_for_disallowed_areas = self._global_container_stack.getMetaDataEntry(
+ "nozzle_offsetting_for_disallowed_areas", True)
result = {}
for extruder in used_extruders:
@@ -742,7 +742,7 @@ class BuildVolume(SceneNode):
bottom_unreachable_border = 0
# Only do nozzle offsetting if needed
- if not no_nozzle_offsetting_for_disallowed_areas:
+ if nozzle_offsetting_for_disallowed_areas:
#The build volume is defined as the union of the area that all extruders can reach, so we need to know the relative offset to all extruders.
for other_extruder in ExtruderManager.getInstance().getActiveExtruderStacks():
other_offset_x = other_extruder.getProperty("machine_nozzle_offset_x", "value")