Skip to content

Commit

Permalink
[Sketcher] Delete check for OCC >= 6.9.0
Browse files Browse the repository at this point in the history
The oldest version we plan to support is 7.0.0. See
https://forum.freecadweb.org/viewtopic.php?f=10&p=650487#p650487.
  • Loading branch information
AjinkyaDahale authored and donovaly committed Jan 4, 2023
1 parent 8715297 commit c6b4e5c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp
Expand Up @@ -1210,16 +1210,6 @@ void CmdSketcherJoinCurves::activated(int iMsg)
{
Q_UNUSED(iMsg);

// TODO: confirm whether or not we need to check for OCC version
#if OCC_VERSION_HEX < 0x060900
QMessageBox::warning(Gui::getMainWindow(),
QObject::tr("Wrong OCE/OCC version"),
QObject::tr("This version of OCE/OCC "
"does not support knot operation. "
"You need 6.9.0 or higher"));
return;
#endif

// get the selection
std::vector<Gui::SelectionObject> selection;
selection = getSelection().getSelectionEx(0, Sketcher::SketchObject::getClassTypeId());
Expand Down

0 comments on commit c6b4e5c

Please sign in to comment.