Avoid setting null shader in PolyDataMapper
vtkPolyDataMapper assume the shader to be not null. Adding a sanity check to avoid setting a null shader and segfaulting down the line.
Edited by Mathieu Westphal (Kitware)
System updates will be applied on June 24th between 7am and 9am, EST (UTC-05:00). This site will have intermittent downtime during that time.
vtkPolyDataMapper assume the shader to be not null. Adding a sanity check to avoid setting a null shader and segfaulting down the line.