From 79bbe7bec9474e341890ced94423db04029e1edf Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 4 Oct 2018 11:16:55 +0200 Subject: =?UTF-8?q?Fix=20of=20SPE-525=20V=20p=C5=99ilo=C5=BEen=C3=A9m=20AM?= =?UTF-8?q?F=20se=20nap=C5=99.=20u=20spodn=C3=AD=20hrany=20oken=20generuj?= =?UTF-8?q?=C3=AD=20pouze=20top=20solid=20layers,=20ale=20nikoliv=20solid?= =?UTF-8?q?=20layers.=20Objevuje=20se=20u=C5=BE=20v=201.41.0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xs/src/libslic3r/PrintObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xs/src/libslic3r') diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp index ea6b39280..1ddcac13d 100644 --- a/xs/src/libslic3r/PrintObject.cpp +++ b/xs/src/libslic3r/PrintObject.cpp @@ -915,7 +915,7 @@ void PrintObject::discover_vertical_shells() #if 1 // Intentionally inflate a bit more than how much the region has been shrunk, // so there will be some overlap between this solid infill and the other infill regions (mainly the sparse infill). - shell = offset2(shell, - 0.5f * min_perimeter_infill_spacing, 0.8f * min_perimeter_infill_spacing, ClipperLib::jtSquare); + shell = offset(offset_ex(union_ex(shell), - 0.5f * min_perimeter_infill_spacing), 0.8f * min_perimeter_infill_spacing, ClipperLib::jtSquare); if (shell.empty()) continue; #else -- cgit v1.2.3