Sketcher: BSpline - Equality not supported user indication
This commit is contained in:
parent
2eec558ce7
commit
6b5622a661
|
@ -3201,8 +3201,16 @@ void CmdSketcherConstrainEqual::activated(int iMsg)
|
|||
else
|
||||
hasAlreadyExternal = true;
|
||||
}
|
||||
|
||||
|
||||
const Part::Geometry *geo = Obj->getGeometry(GeoId);
|
||||
|
||||
if(geo->getTypeId() == Part::GeomBSplineCurve::getClassTypeId()) {
|
||||
// unsupported as they are generally hereogeneus shapes
|
||||
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
|
||||
QObject::tr("Equality for BSpline edge currently unsupported."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (geo->getTypeId() != Part::GeomLineSegment::getClassTypeId())
|
||||
lineSel = true;
|
||||
else if (geo->getTypeId() != Part::GeomArcOfCircle::getClassTypeId())
|
||||
|
|
Loading…
Reference in New Issue
Block a user