Skip to content
Snippets Groups Projects
Commit b6a12db6 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri :speech_balloon:
Browse files

BUG: Turned multisampling OFF for certain tests failing on linux with ATI

Change-Id: I080c1c230f9ded9e4eff76c4dd292cf8fb49682a
parent 80f14e3a
No related branches found
No related tags found
No related merge requests found
Showing with 11 additions and 3 deletions
......@@ -203,5 +203,6 @@ ren42.SetViewport(0.75,0.0,1.0,0.5)
ren42.ResetCamera(-0.5,0.5,-0.5,0.5,-1,1)
ren42.AddActor(a42)
renWin.AddRenderer(ren42)
renWin.SetMultiSamples(0)
renWin.Render()
# --- end of script --
......@@ -124,7 +124,7 @@ try:
ren1.SetBackground(1, 1, 1)
renWin.SetSize(375, 200)
renWin.SetMultiSamples(0)
iren.Initialize()
# render the image
......
......@@ -72,7 +72,7 @@ ren1.AddActor(cursor4Actor)
ren1.SetBackground(0, 0, 0)
renWin.SetSize(120, 120)
renWin.SetMultiSamples(0)
renWin.Render()
iren.Initialize()
......
......@@ -112,7 +112,7 @@ int TestLabeledGeoView2D(int argc, char* argv[])
view->ResetCamera();
view->GetRenderer()->GetActiveCamera()->SetParallelScale(scale);
view->GetRenderWindow()->SetMultiSamples(0);
view->Render();
int retVal = vtkRegressionTestImage(view->GetRenderWindow());
if (retVal == vtkRegressionTester::DO_INTERACTOR)
......
......@@ -39,6 +39,7 @@ ren1.AddActor(actor0)
ren1.SetBackground(0, 0, 0)
renWin.SetSize(300, 300)
renWin.SetMultiSamples(0)
iren.Initialize()
......
......@@ -58,6 +58,7 @@ int TestChacoGraphReader(int argc, char* argv[])
VTK_CREATE(vtkRenderWindow, win);
win->AddRenderer(ren);
win->SetInteractor(iren);
win->SetMultiSamples(0);
int retVal = vtkRegressionTestImage(win);
if (retVal == vtkRegressionTester::DO_INTERACTOR)
......
......@@ -534,6 +534,7 @@ int TestImplicitPlaneWidget(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
// render the image
//
renWin->SetMultiSamples(0);
iren->Initialize();
renWin->Render();
recorder->Play();
......
......@@ -540,6 +540,7 @@ int TestImplicitPlaneWidget2(int vtkNotUsed(argc), char *vtkNotUsed(argv)[])
// render the image
//
renWin->SetMultiSamples(0);
iren->Initialize();
renWin->Render();
recorder->Play();
......
......@@ -197,6 +197,7 @@ int TestImplicitPlaneWidget2b( int, char *[] )
// render the image
//
renWin->SetMultiSamples(0);
iren->Initialize();
renWin->Render();
planeWidget->SetEnabled(1);
......
......@@ -511,6 +511,7 @@ int TestPlaneWidget( int argc, char *argv[] )
// render the image
//
renWin->SetMultiSamples(0);
iren->Initialize();
renWin->Render();
recorder->Play();
......
......@@ -56,6 +56,7 @@ int SurfacePlusEdges(int argc, char *argv[])
VTK_CREATE(vtkRenderWindow, renwin);
renwin->AddRenderer(renderer);
renwin->SetSize(250, 250);
renwin->SetMultiSamples(0);
int retVal = vtkRegressionTestImage(renwin);
if (retVal == vtkRegressionTester::DO_INTERACTOR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment