Commit f28cbed9 authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: paraview reader attempts to shallow copy nullptr (closes #586)

- Can occur if the selected geometry does not actually exist.
  A non-critical bug since paraview catches this anyhow and
  just emits a warning message.
parent 849df8d0
......@@ -155,7 +155,10 @@ class vtkPVFoam
vtkSmartPointer<dataType> getCopy() const
auto copy = vtkSmartPointer<dataType>::New();
if (vtkgeom)
return copy;
......@@ -163,8 +166,11 @@ class vtkPVFoam
void reuse()
dataset = vtkSmartPointer<dataType>::New();
if (vtkgeom)
//- Set the geometry and make a shallow copy to dataset
void set(vtkSmartPointer<dataType> geom)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment