mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
CoTech 86: Turn ON parallel tesselation of presentations by default
This commit is contained in:
parent
02b418c3b2
commit
01499a3542
@ -496,14 +496,14 @@ GEOM_Displayer::GEOM_Displayer( SalomeApp_Study* st )
|
|||||||
// This parameter is used for activisation/deactivisation (selection) of objects to be displayed
|
// This parameter is used for activisation/deactivisation (selection) of objects to be displayed
|
||||||
myToActivate = true;
|
myToActivate = true;
|
||||||
|
|
||||||
// Activate parallel vizualisation only for testing purpose
|
// Activate parallel vizualisation by default.
|
||||||
// and if the corresponding env variable is set to 1
|
// It can be switched OFF via the environment variable:
|
||||||
char* parallel_visu = getenv("PARALLEL_VISU");
|
// export PARALLEL_VISU=0
|
||||||
if (parallel_visu && atoi(parallel_visu))
|
Standard_Boolean parallel_visu = Standard_True;
|
||||||
{
|
char* parallel_visu_env = getenv("PARALLEL_VISU");
|
||||||
MESSAGE("Parallel visualisation on");
|
if (parallel_visu_env && atoi(parallel_visu_env) == 0)
|
||||||
BRepMesh_IncrementalMesh::SetParallelDefault(Standard_True);
|
parallel_visu = Standard_False;
|
||||||
}
|
BRepMesh_IncrementalMesh::SetParallelDefault(parallel_visu);
|
||||||
|
|
||||||
myViewFrame = 0;
|
myViewFrame = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user