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 d4ecf95ca5
commit 998f4e4d45
497 changed files with 2423 additions and 2425 deletions

View File

@@ -658,7 +658,7 @@ private:
str += " ";
if (msg) {str += msg;}
else {str += "No OCCT Exception Message";}
Base::Console().Error("%s\n", str.c_str());
Base::Console().error("%s\n", str.c_str());
throw Py::Exception(Part::PartExceptionOCCError, str);
}
catch (const Base::Exception &e) {
@@ -674,7 +674,7 @@ private:
str += "C++ exception thrown (";
str += e.what();
str += ")";
Base::Console().Error("%s\n", str.c_str());
Base::Console().error("%s\n", str.c_str());
throw Py::RuntimeError(str);
}
}
@@ -691,7 +691,7 @@ private:
str += " ";
if (msg) {str += msg;}
else {str += "No OCCT Exception Message";}
Base::Console().Error("%s\n", str.c_str());
Base::Console().error("%s\n", str.c_str());
throw Py::Exception(Part::PartExceptionOCCError, str);
}
catch (const Base::Exception &e) {
@@ -707,7 +707,7 @@ private:
str += "C++ exception thrown (";
str += e.what();
str += ")";
Base::Console().Error("%s\n", str.c_str());
Base::Console().error("%s\n", str.c_str());
throw Py::RuntimeError(str);
}
}
@@ -762,7 +762,7 @@ private:
std::string EncodedName = std::string(Name);
PyMem_Free(Name);
//Base::Console().Log("Insert in Part with %s",Name);
//Base::Console().log("Insert in Part with %s",Name);
Base::FileInfo file(EncodedName.c_str());
// extract ending
@@ -821,7 +821,7 @@ private:
builder.Add(comp, shape);
}
else {
Base::Console().Message("'%s' is not a shape, export will be ignored.\n", obj->Label.getValue());
Base::Console().message("'%s' is not a shape, export will be ignored.\n", obj->Label.getValue());
}
}
}