Skip to content

Commit

Permalink
[Part] Comment added as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
Syres916 authored Nov 16, 2024
1 parent 4a1a752 commit eb594a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Mod/Part/Gui/DlgSettings3DViewPartImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ void DlgSettings3DViewPart::onMaxAngularDeflectionValueChanged(double vMaxAngle)
if (!this->isVisible()) {
return;
}
/**
* The lower threshold of 2.0 was determined by testing
* as laid out in the table as per comment hyperlink:
* https://github.com/FreeCAD/FreeCAD/issues/15951#issuecomment-2304308163
*/
const double vMaxAngleMinThreshold = 2.0;
if (vMaxAngle < vMaxAngleMinThreshold && !checkValue) {
checkValue = true;
Expand Down

0 comments on commit eb594a2

Please sign in to comment.