Commit 1c3db43c authored by Ken Martin's avatar Ken Martin Committed by David E. DeMarle

dataset mapper was not forwarding relative coincident parameters

Fix issue where if someone set relative coincident params on
a dataaset mapper they had no effect.

(cherry picked from commit a565bf8e)
parent 9f3d4164
......@@ -138,6 +138,14 @@ void vtkDataSetMapper::Render(vtkRenderer *ren, vtkActor *act)
this->PolyDataMapper->SetInterpolateScalarsBeforeMapping(
this->GetInterpolateScalarsBeforeMapping());
double f, u;
this->GetRelativeCoincidentTopologyPolygonOffsetParameters(f,u);
this->PolyDataMapper->SetRelativeCoincidentTopologyPolygonOffsetParameters(f,u);
this->GetRelativeCoincidentTopologyLineOffsetParameters(f,u);
this->PolyDataMapper->SetRelativeCoincidentTopologyLineOffsetParameters(f,u);
this->GetRelativeCoincidentTopologyPointOffsetParameter(u);
this->PolyDataMapper->SetRelativeCoincidentTopologyPointOffsetParameter(u);
this->PolyDataMapper->SetScalarMode(this->GetScalarMode());
if ( this->ScalarMode == VTK_SCALAR_MODE_USE_POINT_FIELD_DATA ||
this->ScalarMode == VTK_SCALAR_MODE_USE_CELL_FIELD_DATA )
......
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