FreeCAD: master b33f9289

Author Committer Branch Timestamp Parent
wmayer wmayer master 2020-10-14 13:20:52 master 3edbcb7b
Affected Issues  0004457: Crash when selecting a line or face and then "select reference" while trying to Revolve
Changeset PartDesign: [skip ci] Improve revolution function
+ Fix hard crash when selecting an edge or face of the created feature before selecting option to choose a reference.
+ In ProfileBased::getAxis() convert OCCT into FreeCAD exception to simplify handling of calling instances.
+ Change return value of getReferencedSelection() from void to bool to mkae it easier for calling instance to detect if the selection failed.
  This is needed to avoid to add invalid items to the combo box of the revolution task panel
mod - src/Mod/PartDesign/App/FeatureSketchBased.cpp Diff File
mod - src/Mod/PartDesign/Gui/ReferenceSelection.cpp Diff File
mod - src/Mod/PartDesign/Gui/ReferenceSelection.h Diff File
mod - src/Mod/PartDesign/Gui/TaskRevolutionParameters.cpp Diff File