From bc59d421de4b361fe083721a7f2a3c7fa537e5eb Mon Sep 17 00:00:00 2001 From: ChrisTerBeke Date: Tue, 10 Oct 2017 16:44:25 +0200 Subject: [PATCH] Add message when model could not be loaded because of small size - CURA-4431 --- cura/CuraApplication.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 7d3e851b70..fc7edb8714 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -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