Measure: allow length measurement for ellipse, hyperbola and parabola (#24659)

This commit is contained in:
theo-vt
2025-10-17 17:34:07 -04:00
committed by GitHub
parent 65d166f356
commit 171389d9d3

View File

@@ -177,6 +177,11 @@ App::MeasureElementType PartMeasureTypeCb(App::DocumentObject* ob, const char* s
? App::MeasureElementType::LINESEGMENT
: App::MeasureElementType::CURVE;
}
case GeomAbs_Ellipse:
case GeomAbs_Hyperbola:
case GeomAbs_Parabola: {
return App::MeasureElementType::CURVE;
}
default: { return App::MeasureElementType::INVALID; }
}
}