From 40f08129a256059b8bde79c722caac02b0f64d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Luis=20Cerc=C3=B3s=20Pita?= Date: Tue, 31 Jan 2012 09:34:42 +0100 Subject: [PATCH] Fixed bad warning message aboput empty sections. --- src/Mod/Ship/Instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Ship/Instance.py b/src/Mod/Ship/Instance.py index be4481ed8d..7e9fe59771 100644 --- a/src/Mod/Ship/Instance.py +++ b/src/Mod/Ship/Instance.py @@ -134,7 +134,7 @@ class Ship: wires = shape.slice(Vector(1.0,0.0,0.0), x) if not wires: if (i != 0) or (i != nS-1): - msg = 'Found empty section at x=%g\n' + msg = 'Found empty section at x=%g\n' % (x) msg = Translator.translate(msg) FreeCAD.Console.PrintWarning(msg) FreeCAD.Console.PrintWarning('\tThis may happens if a bad defined (or really complex) surface has been provided.\n')