mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 09:59:00 +08: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
@ -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…
x
Reference in New Issue
Block a user