aContext->DefaultDrawer()->UIsoAspect()->SetNumber(0);
ModuleBase_IViewer::DefaultHighlightDrawer = aContext->HighlightStyle();
- Handle(Prs3d_Drawer) aSelStyle = aContext->SelectionStyle();
- double aDeflection =
- QString(ModelAPI_ResultConstruction::DEFAULT_DEFLECTION().c_str()).toDouble();
- try {
- aDeflection = Config_PropManager::real("Visualization", "construction_deflection");
- } catch (...) {}
-
- ModuleBase_IViewer::DefaultHighlightDrawer->SetDeviationCoefficient(aDeflection);
- aSelStyle->SetDeviationCoefficient(aDeflection);
+ // Commented out according to discussion in bug #2825
+ //Handle(Prs3d_Drawer) aSelStyle = aContext->SelectionStyle();
+ //double aDeflection =
+ // QString(ModelAPI_ResultConstruction::DEFAULT_DEFLECTION().c_str()).toDouble();
+ //try {
+ // aDeflection = Config_PropManager::real("Visualization", "construction_deflection");
+ //} catch (...) {}
+
+ //ModuleBase_IViewer::DefaultHighlightDrawer->SetDeviationCoefficient(aDeflection);
+ //aSelStyle->SetDeviationCoefficient(aDeflection);
}
return aContext;
}