mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
Merge topic 'anari-null-object-fix'
47b6b5664 fix missing null handle check in volume mapper Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kenneth Moreland <morelandkd@ornl.gov> Merge-request: !3139
This commit is contained in:
commit
2f7316c6fb
@ -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