Console: rename PascalCase named methods to camelCase

This commit is contained in:
bofdahof
2025-03-30 00:50:27 +10:00
committed by Kacper Donat
parent 1dbc0638c3
commit ba2c2ca5ad
497 changed files with 2423 additions and 2425 deletions

View File

@@ -123,7 +123,7 @@ QPainterPath PathBuilder::geomToPainterPath(BaseGeomPtr baseGeom, double rot) co
Rez::guiX(geom->pnts[0].x), Rez::guiX(geom->pnts[0].y));
}
else {//can only handle lines, quads, cubes
Base::Console().Error("Bad pole count (%d) for BezierSegment\n", geom->poles);
Base::Console().error("Bad pole count (%d) for BezierSegment\n", geom->poles);
auto itBez = geom->pnts.begin() + 1;
for (; itBez != geom->pnts.end(); itBez++) {
path.lineTo(Rez::guiX((*itBez).x),
@@ -149,7 +149,7 @@ QPainterPath PathBuilder::geomToPainterPath(BaseGeomPtr baseGeom, double rot) co
Rez::guiX(geom->pnts[3].x), Rez::guiX(geom->pnts[3].y));
}
else {//can only handle lines, quads, cubes
Base::Console().Error("Bad pole count (%d) for BezierSegment\n", geom->poles);
Base::Console().error("Bad pole count (%d) for BezierSegment\n", geom->poles);
auto itBez = geom->pnts.begin() + 1;
for (; itBez != geom->pnts.end(); itBez++) {
path.lineTo(Rez::guiX((*itBez).x),
@@ -184,7 +184,7 @@ QPainterPath PathBuilder::geomToPainterPath(BaseGeomPtr baseGeom, double rot) co
Rez::guiX(it->pnts[0].x), Rez::guiX(it->pnts[0].y));
}
else {//can only handle lines, quads, cubes
Base::Console().Error(
Base::Console().error(
"Bad pole count (%d) for BezierSegment of B-spline geometry\n",
it->poles);
path.lineTo(it->pnts[1].x, it->pnts[1].y);//show something for debugging
@@ -213,7 +213,7 @@ QPainterPath PathBuilder::geomToPainterPath(BaseGeomPtr baseGeom, double rot) co
Rez::guiX(it->pnts[3].x), Rez::guiX(it->pnts[3].y));
}
else {
Base::Console().Error(
Base::Console().error(
"Bad pole count (%d) for BezierSegment of B-spline geometry\n",
it->poles);
path.lineTo(it->pnts[1].x, it->pnts[1].y);//show something for debugging
@@ -242,7 +242,7 @@ QPainterPath PathBuilder::geomToPainterPath(BaseGeomPtr baseGeom, double rot) co
}
} break;
default: {
Base::Console().Error("Error - geomToPainterPath - UNKNOWN geomType: %d\n",
Base::Console().error("Error - geomToPainterPath - UNKNOWN geomType: %d\n",
static_cast<int>(baseGeom->getGeomType()));
} break;
}//sb end of switch