Commit 622cde7e authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: some legacy rendering removed for VTK 9

parent a1b4b20b
......@@ -157,7 +157,9 @@ bool Foam::functionObjects::runTimePostProcessing::write()
auto renderWindow = vtkSmartPointer<vtkRenderWindow>::New();
renderWindow->OffScreenRenderingOn();
renderWindow->SetSize(output_.width_, output_.height_);
renderWindow->SetAAFrames(10);
#if (VTK_MAJOR_VERSION < 9)
renderWindow->SetAAFrames(10); // Legacy rendering
#endif
renderWindow->SetAlphaBitPlanes(true);
renderWindow->SetMultiSamples(0);
// renderWindow->PolygonSmoothingOn();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment