ENH: allow selective disabling of parallel VTK rendering
- in case an individual geometry element has render issues in parallel - additional debug information
This commit is contained in:
committed by
Andrew Heather
parent
be35426f85
commit
e1bd3400ef
@ -85,7 +85,14 @@ static void addGeometryToScene
|
||||
{
|
||||
for (Type& obj : objects)
|
||||
{
|
||||
obj.addGeometryToScene(position, renderer);
|
||||
if (Pstream::master() || obj.parallel())
|
||||
{
|
||||
obj.addGeometryToScene(position, renderer);
|
||||
}
|
||||
else
|
||||
{
|
||||
obj.addGeometryToScene(position, nullptr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user