Commit 7ff34b74 authored by Ben Boeckel's avatar Ben Boeckel

Widgets example: fix up logic around planeSource

Change-Id: I5bf5a76e0d57c2a33ffd8f95f63e83bdf27313fd
parent 984e0102
......@@ -42,9 +42,7 @@ int main( int, char *[] )
vtkRenderWindowInteractor* iren = vtkRenderWindowInteractor::New();
iren->SetRenderWindow( renWin);
planeSource->Update();
vtkPlaneSource* planeSource;
vtkPlaneSource* planeSource = vtkPlaneSource::New();
planeSource->Update();
vtkPolyDataMapper* planeSourceMapper = vtkPolyDataMapper::New();
......
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