mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 18:18:35 +05:00
rnc: fixed a Bug I introduced. GEOM couldn't compile anymore with OCC < 6.5.2
This commit is contained in:
parent
f4b1a1d72e
commit
be1eb82685
@ -321,11 +321,16 @@ GEOM_Displayer::GEOM_Displayer( SalomeApp_Study* st )
|
|||||||
myToActivate = true;
|
myToActivate = true;
|
||||||
// This parameter is used for activisation/deactivisation of objects to be displayed
|
// This parameter is used for activisation/deactivisation of objects to be displayed
|
||||||
|
|
||||||
// Activate parallel vizualisation only for testiong purpose
|
#if OCC_VERSION_LARGE > 0x06050100 // Functionnality available only in OCCT 6.5.2
|
||||||
|
// Activate parallel vizualisation only for testing purpose
|
||||||
// and if the corresponding env variable is set to 1
|
// and if the corresponding env variable is set to 1
|
||||||
char* parallel_visu = getenv("PARALLEL_VISU");
|
char* parallel_visu = getenv("PARALLEL_VISU");
|
||||||
if (parallel_visu && atoi(parallel_visu))
|
if (parallel_visu && atoi(parallel_visu))
|
||||||
|
{
|
||||||
|
MESSAGE("Parallel visualisation on");
|
||||||
BRepMesh_IncrementalMesh::SetParallelDefault(Standard_True);
|
BRepMesh_IncrementalMesh::SetParallelDefault(Standard_True);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
myViewFrame = 0;
|
myViewFrame = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user