mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Build volume is now correctly drawn if there is no object & bed adhesion is none
CURA-2625
This commit is contained in:
parent
b1e8b01549
commit
d326f175c9
1 changed files with 4 additions and 0 deletions
|
@ -450,6 +450,10 @@ class BuildVolume(SceneNode):
|
|||
used_extruders = extruder_manager.getUsedExtruderStacks()
|
||||
disallowed_border_size = self._getEdgeDisallowedSize()
|
||||
|
||||
if not used_extruders:
|
||||
# If no extruder is used, assume that the active extruder is used (else nothing is drawn)
|
||||
used_extruders = [extruder_manager.getActiveExtruderStack()]
|
||||
|
||||
result_areas = self._computeDisallowedAreasStatic(disallowed_border_size, used_extruders) #Normal machine disallowed areas can always be added.
|
||||
prime_areas = self._computeDisallowedAreasPrime(disallowed_border_size, used_extruders)
|
||||
prime_disallowed_areas = self._computeDisallowedAreasStatic(0, used_extruders) #Where the priming is not allowed to happen. This is not added to the result, just for collision checking.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue