Skip to content
Snippets Groups Projects
Commit 66390a21 authored by Cory Quammen's avatar Cory Quammen Committed by Jean-Christophe Fillion-Robin
Browse files

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: default avatarJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
parent e99aedf8
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment