[TD]prevent area dim crash on multiple faces
This commit is contained in:
committed by
Chris Hennes
parent
efbe579e25
commit
e8e5fc79ea
@@ -710,8 +710,10 @@ protected:
|
||||
|
||||
GeomSelectionSizes selection(selPoints.size(), selLine.size(), selCircleArc.size(), selEllipseArc.size(), selSplineAndCo.size(), selFaces.size());
|
||||
if (selection.hasFaces()) {
|
||||
if (selection.has1Face()) { makeCts_Faces(selAllowed); }
|
||||
else { return false; } // nothing else with face works
|
||||
makeCts_Faces(selAllowed);
|
||||
if (!selection.has1Face()) {
|
||||
Base::Console().warning("Multiple faces are selected. Using first.\n");
|
||||
}
|
||||
}
|
||||
else if (selection.hasPoints()) {
|
||||
if (selection.has1Point()) { selAllowed = true; }
|
||||
|
||||
Reference in New Issue
Block a user