Skip to content
Snippets Groups Projects
Commit 89bf67a9 authored by Andras Lasso's avatar Andras Lasso
Browse files

Fix vtkGPUVolumeRayCastMapper multi-volume-rendering crash

After removing a volume from the input vtkMultiVolume and then updating another input volume,
vtkGPUVolumeRayCastMapper crashed in vtkGPUVolumeRayCastMapper::CloneInput because
input was nullptr and it was dereferenced when calling input->GetMTime().

Fixed by checking input for nullptr.

Also updated vtkGPUVolumeRayCastMapper::TransformInput so that it clears the transformed input
when input is nullptr.
parent 9ab6b26e
Branches
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