Skip to content
Snippets Groups Projects
Commit 7ee559ef authored by Jeff Baumes's avatar Jeff Baumes
Browse files

BUG: Collection not deleted properly

Fix another place where vtkCollections may not be deleted properly
in the vtkGeoView.
parent 75d7ceb1
No related branches found
No related tags found
No related merge requests found
......@@ -89,10 +89,10 @@ vtkGeoAlignedImageRepresentationFind(vtkGeoSource* source, vtkGeoImageNode* p, d
}
}
p->SetStatus(vtkGeoTreeNode::NONE);
if (coll)
{
coll->Delete();
}
}
if (coll)
{
coll->Delete();
}
else if(p->GetStatus() == vtkGeoTreeNode::NONE)
{
......@@ -130,7 +130,7 @@ vtkGeoAlignedImageRepresentationFind(vtkGeoSource* source, vtkGeoImageNode* p, d
}
vtkStandardNewMacro(vtkGeoAlignedImageRepresentation);
vtkCxxRevisionMacro(vtkGeoAlignedImageRepresentation, "1.10");
vtkCxxRevisionMacro(vtkGeoAlignedImageRepresentation, "1.11");
vtkCxxSetObjectMacro(vtkGeoAlignedImageRepresentation, GeoSource, vtkGeoSource);
//----------------------------------------------------------------------------
vtkGeoAlignedImageRepresentation::vtkGeoAlignedImageRepresentation()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment