Add message when model could not be loaded because of small size - CURA-4431

This commit is contained in:
ChrisTerBeke 2017-10-10 16:44:25 +02:00
parent 30c9ccfb7f
commit bc59d421de

View File

@ -1361,6 +1361,8 @@ 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()
return
# Step is for skipping tests to make it a lot faster. it also makes the outcome somewhat rougher