diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index c75d96978f..3d268f2644 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -7940,6 +7940,7 @@ bool SketchObject::getInternalTypeState(const Constraint * cstr, Sketcher::Inter switch(cstr->AlignmentType){ case Undef: + case NumInternalAlignmentType: internaltypestate = InternalType::None; break; case EllipseMajorDiameter: