mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Use correct definition of Polygons
Only saw this error after the merge so pushing directly to master. part of CURA-8083
This commit is contained in:
parent
7c7a1016d0
commit
e5be3e56dc
1 changed files with 1 additions and 1 deletions
|
@ -769,7 +769,7 @@ class BuildVolume(SceneNode):
|
|||
self._extra_z_clearance = self._calculateExtraZClearance(ExtruderManager.getInstance().getUsedExtruderStacks())
|
||||
self.rebuild()
|
||||
|
||||
def _scaleAreas(self, result_areas: List["Polygons"]) -> None:
|
||||
def _scaleAreas(self, result_areas: List[List[Polygon]]) -> None:
|
||||
for i, polygon in enumerate(result_areas):
|
||||
result_areas[i] = polygon.scale(
|
||||
100.0 / max(100.0, self._global_container_stack.getProperty("material_shrinkage_percentage_xy", "value"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue