Remove extra comma in Asymptote surface color definition

Found via LGTM.
This commit is contained in:
Chris Hennes
2021-02-07 19:39:03 -06:00
committed by wwmayer
parent 70ad3cbf83
commit 27a5fea60e

View File

@@ -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";