Sketcher: commandConstraint : remove leftover bothexternal variable.

This commit is contained in:
Paddle
2023-10-22 07:45:15 +02:00
committed by abdullahtahiriyo
parent 35ab4a28c9
commit f45fd8fe35

View File

@@ -8744,9 +8744,6 @@ void CmdSketcherConstrainAngle::activated(int iMsg)
}
else if (SubNames.size() < 3) {
bool bothexternal = areBothPointsOrSegmentsFixed(Obj, GeoId1, GeoId2);
Q_UNUSED(bothexternal)
if (isVertex(GeoId1, PosId1) && isEdge(GeoId2, PosId2)) {
std::swap(GeoId1, GeoId2);
std::swap(PosId1, PosId2);