Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -71,7 +71,7 @@ PyMOD_INIT_FUNC(Surface)
|
||||
}
|
||||
|
||||
PyObject* mod = Surface::initModule();
|
||||
Base::Console().Log("Loading Surface module... done\n");
|
||||
Base::Console().log("Loading Surface module... done\n");
|
||||
Base::Interpreter().addType(&Surface::BlendPointPy::Type, mod, "BlendPoint");
|
||||
Base::Interpreter().addType(&Surface::BlendCurvePy::Type, mod, "BlendCurve");
|
||||
|
||||
|
||||
@@ -98,8 +98,8 @@ int BlendPointPy::PyInit(PyObject* args, PyObject*)
|
||||
BRepAdaptor_Curve adapt(e);
|
||||
if (param < adapt.FirstParameter() || param > adapt.LastParameter()) {
|
||||
PyErr_Warn(PyExc_UserWarning, "BlendPoint: edge is not a closed curve");
|
||||
Base::Console().Message("fp=%f\n", adapt.FirstParameter());
|
||||
Base::Console().Message("lp=%f\n", adapt.LastParameter());
|
||||
Base::Console().message("fp=%f\n", adapt.FirstParameter());
|
||||
Base::Console().message("lp=%f\n", adapt.LastParameter());
|
||||
}
|
||||
|
||||
adapt.D0(param, Pt);
|
||||
|
||||
@@ -87,6 +87,6 @@ PyMOD_INIT_FUNC(SurfaceGui)
|
||||
// clang-format on
|
||||
|
||||
PyObject* mod = SurfaceGui::initModule();
|
||||
Base::Console().Log("Loading GUI of Surface module... done\n");
|
||||
Base::Console().log("Loading GUI of Surface module... done\n");
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
|
||||
@@ -452,7 +452,7 @@ void GeomFillSurface::changeFillType(GeomFill_FillingStyle fillType)
|
||||
editedObject->FillType.setValue(static_cast<long>(fillType));
|
||||
editedObject->recomputeFeature();
|
||||
if (!editedObject->isValid()) {
|
||||
Base::Console().Error("Surface filling: %s", editedObject->getStatusString());
|
||||
Base::Console().error("Surface filling: %s", editedObject->getStatusString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user