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

@@ -217,7 +217,7 @@ PyMOD_INIT_FUNC(Part)
PyErr_SetString(PyExc_ImportError, e.what());
PyMOD_Return(nullptr);
}
Base::Console().Log("Module: Part\n");
Base::Console().log("Module: Part\n");
// This is highly experimental and we should keep an eye on it
// if we have mysterious crashes
@@ -229,7 +229,7 @@ PyMOD_INIT_FUNC(Part)
#endif
PyObject* partModule = Part::initModule();
Base::Console().Log("Loading Part module... done\n");
Base::Console().log("Loading Part module... done\n");
Py::Object module(partModule);
module.setAttr("OCC_VERSION", Py::String(OCC_VERSION_STRING_EXT));
@@ -246,7 +246,7 @@ PyMOD_INIT_FUNC(Part)
OCCError = PyErr_NewException("Part.OCCError", Base::PyExc_FC_GeneralError, nullptr);
}
else {
Base::Console().Error("Can not inherit Part.OCCError form BaseFreeCADError.\n");
Base::Console().error("Can not inherit Part.OCCError form BaseFreeCADError.\n");
OCCError = PyErr_NewException("Part.OCCError", PyExc_RuntimeError, nullptr);
}
Py_INCREF(OCCError);
@@ -575,7 +575,7 @@ PyMOD_INIT_FUNC(Part)
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/Part/Boolean");
Part::FuzzyHelper::setBooleanFuzzy(hGrp->GetFloat("BooleanFuzzy",10.0));
Base::registerServiceImplementation<App::SubObjectPlacementProvider>(new AttacherSubObjectPlacement);