mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Fix calculation of infill wipe distance starting from infill location
Subtract the thickness of the walls from this setting. This most likely ends up negative and thus not counting because it's maxed with something that starts at 0. I've also simplified this algorithm a bit. Easier to follow if you ask me. Done as a 5 minute fix.
This commit is contained in:
parent
0e30f0bb6b
commit
f6479840f6
2 changed files with 16 additions and 11 deletions
|
@ -1798,7 +1798,7 @@ class CuraApplication(QtApplication):
|
|||
# If a model is to small then it will not contain any points
|
||||
if offset_shape_arr is None and hull_shape_arr is None:
|
||||
Message(self._i18n_catalog.i18nc("@info:status", "The selected model was too small to load."),
|
||||
title=self._i18n_catalog.i18nc("@info:title", "Warning")).show()
|
||||
title = self._i18n_catalog.i18nc("@info:title", "Warning")).show()
|
||||
return
|
||||
|
||||
# Step is for skipping tests to make it a lot faster. it also makes the outcome somewhat rougher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue