diff options
author | casper <c.lamboo@ultimaker.com> | 2021-12-15 19:48:20 +0300 |
---|---|---|
committer | casper <c.lamboo@ultimaker.com> | 2021-12-15 19:48:20 +0300 |
commit | e5be3e56dc4f04df2c6fe44bede285b04c5a5f0e (patch) | |
tree | 54568d2f1ed7518936c82222dcb5500c423680d1 | |
parent | 7c7a1016d0ea1bdccf84dea6909011309f68e713 (diff) |
Use correct definition of Polygons
Only saw this error after the merge so pushing directly to master.
part of CURA-8083
-rwxr-xr-x | cura/BuildVolume.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 45e4c9901a..d4c027eece 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -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")) |