mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Fix hang-up when displaying sphere in OCC viewer
This commit is contained in:
parent
300eff0fcb
commit
cac1b61a47
@ -1689,7 +1689,7 @@ PropMap GEOM_Displayer::getDefaultPropepryMap(const QString& viewer_type){
|
||||
double aDC;
|
||||
//rnv: Currently deflection coefficient is not supported by VTK viewer.
|
||||
if(viewer_type == SOCC_Viewer::Type()) {
|
||||
double aDC = aResMgr->doubleValue("Geometry", "deflection_coeff", 0.001);
|
||||
aDC = aResMgr->doubleValue("Geometry", "deflection_coeff", 0.001);
|
||||
} else if( viewer_type==SVTK_Viewer::Type()) {
|
||||
aDC = 0.0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user