mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
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.
This commit is contained in:
parent
16564b3194
commit
ab384ba8ec
1 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue