Measure: allow length measurement for ellipse, hyperbola and parabola (#24659)
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user