Sketcher: Fix Debug mode GeoUndef

This commit is contained in:
Abdullah Tahiri
2021-12-17 16:48:50 +01:00
parent 21e8aaab32
commit f21e7b9e9b

View File

@@ -1409,7 +1409,7 @@ void ViewProviderSketch::moveConstraint(int constNum, const Base::Vector2d &toPo
#ifdef _DEBUG
assert(int(geomlist.size()) == extGeoCount + intGeoCount);
assert((Constr->First >= -extGeoCount && Constr->First < intGeoCount)
|| Constr->First != Constraint::GeoUndef);
|| Constr->First != GeoEnum::GeoUndef);
#endif
if (Constr->Type == Distance || Constr->Type == DistanceX || Constr->Type == DistanceY ||