]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Revert "Issue #3256: Hang up when displaying the model"
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Wed, 3 Jun 2020 06:24:05 +0000 (09:24 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Wed, 3 Jun 2020 06:24:05 +0000 (09:24 +0300)
This reverts commit 2dfe5620ba85f46b0a9fd1e67726e04dd44bf904.

src/ModuleBase/ModuleBase_Tools.cpp

index 08a9ef0aec393655d3924b746e912c1e55dac678..a3697ee37f0c09d7f889585b732882b2b708af8e 100644 (file)
@@ -470,12 +470,8 @@ void setDefaultDeviationCoefficient(const TopoDS_Shape& theShape,
   double aDeflection;
   if (isConstruction)
     aDeflection = Config_PropManager::real("Visualization", "construction_deflection");
-  else {
+  else
     aDeflection = Config_PropManager::real("Visualization", "body_deflection");
-    // workaround (issue #3256): to avoid hang up on one of restricted models
-    // set the maximal deflection to be the same as a default body deflection
-    theDrawer->SetMaximalChordialDeviation(aDeflection);
-  }
 
   theDrawer->SetDeviationCoefficient(aDeflection);
 }