• Utkarsh Ayachit's avatar
    Fix vtkChartMatrix to not set invalid size · a11e4c23
    Utkarsh Ayachit authored
    Fixes issue exposed by !4835.
    vtkChartMatrix was setting sizes with negative widths/heights on
    internal plots. This was happening during ParaView test playback.
    Fixing vtkChartMatrix to avoid setting invalid sizes, prefer empty sizes
    Added a few more assert checks in vtkContextClip and
    vtkOpenGLContextDevice2D to catch such issues earlier.
vtkChartMatrix.cxx 10.4 KB