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

@@ -159,8 +159,8 @@ private:
reader.read(hDoc);
}
catch (OSD_Exception& e) {
Base::Console().Error("%s\n", e.GetMessageString());
Base::Console().Message("Try to load STEP file without colors...\n");
Base::Console().error("%s\n", e.GetMessageString());
Base::Console().message("Try to load STEP file without colors...\n");
Part::ImportStepParts(pcDoc, Utf8Name.c_str());
pcDoc->recompute();
@@ -172,8 +172,8 @@ private:
reader.read(hDoc);
}
catch (OSD_Exception& e) {
Base::Console().Error("%s\n", e.GetMessageString());
Base::Console().Message("Try to load IGES file without colors...\n");
Base::Console().error("%s\n", e.GetMessageString());
Base::Console().message("Try to load IGES file without colors...\n");
Part::ImportIgesParts(pcDoc, Utf8Name.c_str());
pcDoc->recompute();
@@ -428,7 +428,7 @@ private:
Py::Object writeDXFShape(const Py::Tuple& args)
{
Base::Console().Message("Imp:writeDXFShape()\n");
Base::Console().message("Imp:writeDXFShape()\n");
PyObject* shapeObj = nullptr;
char* fname = nullptr;
std::string filePath;
@@ -632,7 +632,7 @@ private:
PyMem_Free(fname);
App::DocumentObject* obj =
static_cast<App::DocumentObjectPy*>(docObj)->getDocumentObjectPtr();
Base::Console().Message("Imp:writeDXFObject - docObj: %s\n", obj->getNameInDocument());
Base::Console().message("Imp:writeDXFObject - docObj: %s\n", obj->getNameInDocument());
if ((versionParm == 12) || (versionParm == 14)) {
versionOverride = true;