Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user