[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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user