-
- Downloads
Fix crash where vtkColorTransferFunction has 0 nodes
Thanks to Jean-Christophe Fillion-Robin for pointing this out. See https://github.com/Slicer/Slicer/commit/f59a689a0f6d2912538ed72dad16efc70601f0ed#commitcomment-9407867 for reference. A basic test for vtkColorTransferFunction is added that crashes prior to this patch and succeeds with this patch. Tested-by:Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Showing
- Rendering/Core/Testing/Cxx/CMakeLists.txt 1 addition, 0 deletionsRendering/Core/Testing/Cxx/CMakeLists.txt
- Rendering/Core/Testing/Cxx/TestColorTransferFunction.cxx 50 additions, 0 deletionsRendering/Core/Testing/Cxx/TestColorTransferFunction.cxx
- Rendering/Core/vtkColorTransferFunction.cxx 21 additions, 17 deletionsRendering/Core/vtkColorTransferFunction.cxx
Loading
Please register or sign in to comment