Commit 276fec3b authored by Will Schroeder's avatar Will Schroeder
Browse files

ERR:Purify problems

parent 8c0a3479
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "vtkSphereSource.h" #include "vtkSphereSource.h"
#include "vtkRenderWindow.h" #include "vtkRenderWindow.h"
vtkCxxRevisionMacro(vtkLineWidget, "1.22"); vtkCxxRevisionMacro(vtkLineWidget, "1.23");
vtkStandardNewMacro(vtkLineWidget); vtkStandardNewMacro(vtkLineWidget);
vtkLineWidget::vtkLineWidget() vtkLineWidget::vtkLineWidget()
...@@ -106,10 +106,6 @@ vtkLineWidget::vtkLineWidget() ...@@ -106,10 +106,6 @@ vtkLineWidget::vtkLineWidget()
vtkLineWidget::~vtkLineWidget() vtkLineWidget::~vtkLineWidget()
{ {
if ( this->Enabled )
{
this->SetEnabled(0);
}
this->LineActor->Delete(); this->LineActor->Delete();
this->LineMapper->Delete(); this->LineMapper->Delete();
this->LineSource->Delete(); this->LineSource->Delete();
......
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