[Sketcher] Add missing check in deriveConstraintsForPieces
Fixes #19770.
This commit is contained in:
committed by
Benjamin Nauck
parent
b984ee0d57
commit
18fe29d0b5
@@ -4119,6 +4119,10 @@ bool SketchObject::deriveConstraintsForPieces(const int oldId,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (conId == GeoEnum::GeoUndef) {
|
||||
// nothing further to do
|
||||
return false;
|
||||
}
|
||||
Base::Vector3d conPoint(getPoint(conId, conPos));
|
||||
double conParam;
|
||||
auto* geoAsCurve = static_cast<const Part::GeomCurve*>(geo);
|
||||
|
||||
Reference in New Issue
Block a user