From: Artem Zhidkov Date: Wed, 3 Jun 2020 06:24:05 +0000 (+0300) Subject: Revert "Issue #3256: Hang up when displaying the model" X-Git-Tag: V9_6_0a1~83 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73c807d3ea266257c9f04b1de8e0868551d8b47c;p=modules%2Fshaper.git Revert "Issue #3256: Hang up when displaying the model" This reverts commit 2dfe5620ba85f46b0a9fd1e67726e04dd44bf904. --- diff --git a/src/ModuleBase/ModuleBase_Tools.cpp b/src/ModuleBase/ModuleBase_Tools.cpp index 08a9ef0ae..a3697ee37 100644 --- a/src/ModuleBase/ModuleBase_Tools.cpp +++ b/src/ModuleBase/ModuleBase_Tools.cpp @@ -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); }