mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
FIx failing mypy test
CURA-8083
This commit is contained in:
parent
6c64e08299
commit
d59cd602ee
1 changed files with 2 additions and 0 deletions
|
@ -770,6 +770,8 @@ class BuildVolume(SceneNode):
|
|||
self.rebuild()
|
||||
|
||||
def _scaleAreas(self, result_areas: List[Polygon]) -> None:
|
||||
if self._global_container_stack is None:
|
||||
return
|
||||
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