Fix selection for radius Dims

- selection of ellipse curves was allowed
  but not supported for radius dims.
This commit is contained in:
wandererfan
2018-05-14 09:18:39 -04:00
committed by wmayer
parent ea87335842
commit 89a7b2a92f
2 changed files with 10 additions and 5 deletions

View File

@@ -1005,11 +1005,11 @@ int _isValidSingleEdge(Gui::Command* cmd) {
edgeType = isDiagonal;
}
} else if (geom->geomType == TechDrawGeometry::CIRCLE ||
geom->geomType == TechDrawGeometry::ELLIPSE ||
geom->geomType == TechDrawGeometry::ARCOFCIRCLE ||
geom->geomType == TechDrawGeometry::ARCOFELLIPSE ) {
geom->geomType == TechDrawGeometry::ARCOFCIRCLE ) {
edgeType = isCircle;
} else if (geom->geomType == TechDrawGeometry::BSPLINE) {
} else if (geom->geomType == TechDrawGeometry::ELLIPSE ||
geom->geomType == TechDrawGeometry::ARCOFELLIPSE ||
geom->geomType == TechDrawGeometry::BSPLINE) {
edgeType = isCurve;
} else {
edgeType = isInvalid;