[Sketcher] Delete check for OCC >= 6.9.0

The oldest version we plan to support is 7.0.0. See
https://forum.freecadweb.org/viewtopic.php?f=10&p=650487#p650487.
This commit is contained in:
Ajinkya Dahale
2022-12-31 03:17:00 -05:00
committed by Uwe
parent be9634b23c
commit 9aba979b27

View File

@@ -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());