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

This commit is contained in:
Eric Price
2024-10-12 18:41:23 +02:00
parent 68817a104e
commit 6397fabb79

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;