Sketcher: App - Clang-format
This commit is contained in:
committed by
abdullahtahiriyo
parent
c33cdcd68a
commit
987b4bda2a
@@ -33,8 +33,11 @@ PROPERTY_SOURCE(Sketcher::SketchObjectSF, Part::Part2DObject)
|
||||
|
||||
SketchObjectSF::SketchObjectSF()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(SketchFlatFile,(nullptr),"",(App::PropertyType)(App::Prop_None),
|
||||
"SketchFlat file (*.skf) which defines this sketch");
|
||||
ADD_PROPERTY_TYPE(SketchFlatFile,
|
||||
(nullptr),
|
||||
"",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"SketchFlat file (*.skf) which defines this sketch");
|
||||
}
|
||||
|
||||
short SketchObjectSF::mustExecute() const
|
||||
@@ -44,9 +47,11 @@ short SketchObjectSF::mustExecute() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn *SketchObjectSF::execute()
|
||||
App::DocumentObjectExecReturn* SketchObjectSF::execute()
|
||||
{
|
||||
Base::Console().Warning("%s: This feature is deprecated and won't be longer supported in future FreeCAD versions\n",this->getNameInDocument());
|
||||
// do nothing
|
||||
Base::Console().Warning(
|
||||
"%s: This feature is deprecated and won't be longer supported in future FreeCAD versions\n",
|
||||
this->getNameInDocument());
|
||||
// do nothing
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user