Sketcher: Do not autoscale if there are blocked geometries

This commit is contained in:
theo-vt
2025-12-12 07:33:32 -05:00
committed by Chris Hennes
parent fc93004c89
commit 29eeab3624
3 changed files with 12 additions and 1 deletions

View File

@@ -9567,6 +9567,12 @@ bool SketchObject::arePointsCoincident(int GeoId1, PointPos PosId1, int GeoId2,
return false;
}
bool SketchObject::hasBlockConstraint() const
{
return std::ranges::any_of(Constraints.getValues(), [](auto& c) {
return c->Type == Block;
});
}
void SketchObject::getConstraintIndices(int GeoId, std::vector<int>& constraintList)
{