From 27a5fea60ee378318ae18b552bd5d9878752a508 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Sun, 7 Feb 2021 19:39:03 -0600 Subject: [PATCH] Remove extra comma in Asymptote surface color definition Found via LGTM. --- src/Mod/Mesh/App/Core/MeshIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Mesh/App/Core/MeshIO.cpp b/src/Mod/Mesh/App/Core/MeshIO.cpp index 42ed21e695..097191f03d 100644 --- a/src/Mod/Mesh/App/Core/MeshIO.cpp +++ b/src/Mod/Mesh/App/Core/MeshIO.cpp @@ -2515,7 +2515,7 @@ bool MeshOutput::SaveAsymptote(std::ostream &out) const for (int i = 0; i < 3; i++) { const App::Color& c = _material->diffuseColor[face._aulPoints[i]]; out << "rgb(" << c.r << ", " << c.g << ", " << c.b << ")"; - if (i < 3) + if (i < 2) out << ", "; } out << "}));\n";