Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcasper <c.lamboo@ultimaker.com>2021-12-15 19:48:20 +0300
committercasper <c.lamboo@ultimaker.com>2021-12-15 19:48:20 +0300
commite5be3e56dc4f04df2c6fe44bede285b04c5a5f0e (patch)
tree54568d2f1ed7518936c82222dcb5500c423680d1 /cura/BuildVolume.py
parent7c7a1016d0ea1bdccf84dea6909011309f68e713 (diff)
Use correct definition of Polygons
Only saw this error after the merge so pushing directly to master. part of CURA-8083
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-xcura/BuildVolume.py2
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"))