From 5ca31d6de27d05f747123d9e2086f86edfef7447 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Wed, 23 Jun 2021 15:11:36 +0100 Subject: [PATCH] [Draft] Airfoil Import - User feedback not shown.. ... as an error therefore Report Console doesn't attract their attention to why there's nothing in the folder on import of faulty dat file. See discussion: https://forum.freecadweb.org/viewtopic.php?f=3&t=59628 --- src/Mod/Draft/importAirfoilDAT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/importAirfoilDAT.py b/src/Mod/Draft/importAirfoilDAT.py index e496667a4c..3e3e13d147 100644 --- a/src/Mod/Draft/importAirfoilDAT.py +++ b/src/Mod/Draft/importAirfoilDAT.py @@ -183,7 +183,7 @@ def process(doc, filename): afile.close() if len(coords) < 3: - print('Did not find enough coordinates\n') + FCC.PrintError(translate("ImportAirfoilDAT", "Did not find enough coordinates") + "\n") return # sometimes coords are divided in upper an lower side