Commit ac2d999f authored by Bill Lorensen's avatar Bill Lorensen
Browse files

BUG: Conditional jump or move depends on uninitialised value

The 1D test needed
  mapper1d->SetScalarModeToUseCellData();

Change-Id: I98ed718ccbbb63312a8226338024c566c24b9da2
parent 1b63b087
......@@ -243,6 +243,7 @@ int TestHyperOctreeContourFilter(int argc, char* argv[])
vtkPolyDataMapper *mapper1d = vtkPolyDataMapper::New();
mapper1d->SetInputConnection(0,contour1d->GetOutputPort(0));
mapper1d->SetLookupTable(lut1d);
mapper1d->SetScalarModeToUseCellData();
if(contour1d->GetOutput()->GetCellData()!=0)
{
......
Supports Markdown
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