Sketcher: Fix Debug mode GeoUndef
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user