From 49d4ef2471fdc87cf691179a0f5cb260ac0780b2 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Fri, 17 Dec 2021 16:48:50 +0100 Subject: [PATCH] Sketcher: Fix Debug mode GeoUndef --- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index a74f447edc..da378d8c1d 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -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 ||