Surface: several improvements

* fix crash because of incomplete inheritance of BlendPoint and BlendCurve -> do not inherit from BaseClass
  as consequebce make destructor non-virtual and remove getPyObject
* pass std::vector by const reference
* remove unneeded includes
* use more suitable Python exception types
* when returning with null from Python handler then set an exception
* harmonize file guards
* several optimizations or simplifications
* use modern C++
* harmonize command name
* fix copyright note
This commit is contained in:
wmayer
2022-08-23 16:46:22 +02:00
parent 3b839551da
commit c2b9eceec1
17 changed files with 99 additions and 145 deletions

View File

@@ -57,7 +57,7 @@ Gui::MenuItem *Workbench::setupMenuBar() const
<< "Surface_Sections"
<< "Surface_ExtendFace"
<< "Surface_CurveOnMesh"
<< "BlendCurve";
<< "Surface_BlendCurve";
/*
*surface << "Surface_Cut";
*/
@@ -76,7 +76,7 @@ Gui::ToolBarItem *Workbench::setupToolBars() const
<< "Surface_Sections"
<< "Surface_ExtendFace"
<< "Surface_CurveOnMesh"
<< "BlendCurve";
<< "Surface_BlendCurve";
/*
*surface << "Surface_Cut";
*/