Skip to content

vtkUnstructuredGrid::ShallowCopy allocates connectivity if necessary

Fix for #18722 (closed).

Made vtkUnstructuredGrid::ShallowCopy check and allocate internal arrays as necessary when input is a vtkUnstructuredGridBase. This prevents an access violation if vtkUnstructuredGrid::Initialize was called before.

Merge request reports