mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
fix missing null handle check in volume mapper
This commit is contained in:
parent
45b171f3f8
commit
47b6b5664a
@ -171,6 +171,9 @@ void ANARIMapperVolume::ConstructArrays(bool regenerate)
|
||||
|
||||
void ANARIMapperVolume::UpdateSpatialField()
|
||||
{
|
||||
if (!this->Handles->SpatialField)
|
||||
return;
|
||||
|
||||
auto d = this->GetDevice();
|
||||
|
||||
anari_cpp::unsetParameter(d, this->Handles->SpatialField, "origin");
|
||||
|
Loading…
Reference in New Issue
Block a user