2D AMR data is not read correctly causing iso-contour lines to be drawn at all levels regardless of overlaps
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In ParaView-3.8.0-RC1/VTK/Filtering/vtkHierarchicalBoxDataSet.cxx
line 291:
vtkAMRBox coarsebox(3,boxVec,boxVec+3);
wrongly assumes we are always dealing with 3D grids, because it creates a coarse box of dimensionality 3, instead of looking at the current box' Dimensionality.
The side effect is that when running with 2D data, we get messages like that
Generic Warning: In /local/apps/ParaView-3.8.0-RC1/VTK/Filtering/vtkAMRBox.cxx, line 625 This box cannot be coarsened
due to the fact that the sanity check on the 3rd dimension fails.
vtkAMRBox returns and the Visibility arrays are wrong.
The consequence is that isocontour lines are duplicated over ALL levels without visibility arrays.