From fdf26641dde3d93fbf1bda7315e90aa8f67d3835 Mon Sep 17 00:00:00 2001 From: Matthias Rambausek Date: Mon, 6 Dec 2021 16:28:02 +0100 Subject: [PATCH] fixed exception --- libsrc/occ/python_occ_shapes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index 28983a71..f4fd387f 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -452,7 +452,7 @@ public: gp_Pnt PLast3d = surf->Value(PLast.X(), PLast.Y()); if (points.front().Distance(P1) <= tol) - throw Exception("First item of given list of points is too close to current position (distance <= tol).") + throw Exception("First item of given list of points is too close to current position (distance <= tol)."); Handle(TColgp_HArray1OfPnt2d) allpoints = new TColgp_HArray1OfPnt2d(1, points.size() + 1); allpoints->SetValue(1, P1);