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

@@ -57,7 +57,7 @@ PyMOD_INIT_FUNC(Inspection)
//
//
PyObject* mod = Inspection::initModule();
Base::Console().Log("Loading Inspection module... done\n");
Base::Console().log("Loading Inspection module... done\n");
// clang-format off
Inspection::PropertyDistanceList ::init();
Inspection::Feature ::init();

View File

@@ -896,7 +896,7 @@ App::DocumentObjectExecReturn* Feature::execute()
fRMS = sqrt(fRMS);
}
Base::Console().Message("RMS value for '%s' with search radius [%.4f,%.4f] is: %.4f\n",
Base::Console().message("RMS value for '%s' with search radius [%.4f,%.4f] is: %.4f\n",
this->Label.getValue(), -this->SearchRadius.getValue(), this->SearchRadius.getValue(), fRMS);
#else
unsigned long count = actual->countPoints();
@@ -966,7 +966,7 @@ App::DocumentObjectExecReturn* Feature::execute()
}
}
Base::Console().Message("RMS value for '%s' with search radius [%.4f,%.4f] is: %.4f\n",
Base::Console().message("RMS value for '%s' with search radius [%.4f,%.4f] is: %.4f\n",
this->Label.getValue(),
-this->SearchRadius.getValue(),
this->SearchRadius.getValue(),

View File

@@ -78,6 +78,6 @@ PyMOD_INIT_FUNC(InspectionGui)
//
PyObject* mod = InspectionGui::initModule();
Base::Console().Log("Loading GUI of Inspection module... done\n");
Base::Console().log("Loading GUI of Inspection module... done\n");
PyMOD_Return(mod);
}

View File

@@ -121,13 +121,13 @@ ViewProviderInspection::~ViewProviderInspection()
deleteColorBar();
}
catch (Base::Exception& e) {
Base::Console().DestructorError(
Base::Console().destructorError(
"ViewProviderInspection",
"ViewProviderInspection::deleteColorBar() threw an exception: %s\n",
e.what());
}
catch (...) {
Base::Console().DestructorError(
Base::Console().destructorError(
"ViewProviderInspection",
"ViewProviderInspection destructor threw an unknown exception");
}
@@ -583,7 +583,7 @@ void ViewProviderInspection::inspectCallback(void* ud, SoEventCallback* n)
&& mbe->getState() == SoButtonEvent::UP) {
const SoPickedPoint* point = n->getPickedPoint();
if (!point) {
Base::Console().Message("No point picked.\n");
Base::Console().message("No point picked.\n");
return;
}