disable tesselation limit in ViewProviderGUI to prevent large parts from freezing FreeCAD

This commit is contained in:
Eric Price
2024-10-21 10:59:03 -05:00
committed by Chris Hennes
parent 718c2746ae
commit 4322c16e0f
+1 -1
View File
@@ -975,7 +975,7 @@ void ViewProviderPartExt::updateVisual()
// For very big objects the computed deflection can become very high and thus leads to a useless
// tessellation. To avoid this the upper limit is set to 20.0
// See also forum: https://forum.freecad.org/viewtopic.php?t=77521
deflection = std::min(deflection, 20.0);
//deflection = std::min(deflection, 20.0);
// create or use the mesh on the data structure
Standard_Real AngDeflectionRads = AngularDeflection.getValue() / 180.0 * M_PI;