Sketcher: Display non-empty Sketch when having external geometry (#23660)
This commit is contained in:
@@ -3529,7 +3529,8 @@ void ViewProviderSketch::UpdateSolverInformation()
|
||||
bool hasPartiallyRedundant = getSketchObject()->getLastHasPartialRedundancies();
|
||||
bool hasMalformed = getSketchObject()->getLastHasMalformedConstraints();
|
||||
|
||||
if (getSketchObject()->Geometry.getSize() == 0) {
|
||||
if (getSketchObject()->Geometry.getSize() == 0 &&
|
||||
getSketchObject()->ExternalGeo.getSize() <= 2) { // X- and Y-Axis
|
||||
signalSetUp(QStringLiteral("empty"), tr("Empty sketch"), QString(), QString());
|
||||
}
|
||||
else if (dofs < 0 || hasConflicts) {// over-constrained sketch
|
||||
|
||||
Reference in New Issue
Block a user