Commit 7daf1b71 authored by Jeff Baumes's avatar Jeff Baumes
Browse files

BUG: vtkAbstractGraph Initialize() should call parent class's Initialize().

parent d2346613
......@@ -39,7 +39,7 @@
double vtkAbstractGraph::DefaultPoint[3] = {0, 0, 0};
vtkCxxRevisionMacro(vtkAbstractGraph, "1.6");
vtkCxxRevisionMacro(vtkAbstractGraph, "1.7");
//----------------------------------------------------------------------------
vtkAbstractGraph::vtkAbstractGraph()
......@@ -65,6 +65,7 @@ vtkAbstractGraph::~vtkAbstractGraph()
//----------------------------------------------------------------------------
void vtkAbstractGraph::Initialize()
{
this->Superclass::Initialize();
this->Line->Delete();
this->Line = vtkLine::New();
}
......
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