mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 21:31:15 -07:00
Fix typing of scaleAreas
The change in e5be3e56dc wasn't quite correct
CURA-8083
This commit is contained in:
parent
1aa6ec721a
commit
6c64e08299
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._extra_z_clearance = self._calculateExtraZClearance(ExtruderManager.getInstance().getUsedExtruderStacks())
|
||||||
self.rebuild()
|
self.rebuild()
|
||||||
|
|
||||||
def _scaleAreas(self, result_areas: List[List[Polygon]]) -> None:
|
def _scaleAreas(self, result_areas: List[Polygon]) -> None:
|
||||||
for i, polygon in enumerate(result_areas):
|
for i, polygon in enumerate(result_areas):
|
||||||
result_areas[i] = polygon.scale(
|
result_areas[i] = polygon.scale(
|
||||||
100.0 / max(100.0, self._global_container_stack.getProperty("material_shrinkage_percentage_xy", "value"))
|
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