[vtk-developers] Bug in vtkGraph::RemoveVertexInternal

Nasztanovics Ferenc naszta at naszta.hu
Fri Jul 2 04:09:55 EDT 2010


Now in code:

  if (this->Points)
    {
    double x[3];
    this->Points->GetPoint(lv);
    this->Points->SetPoint(v, x);
    this->Points->SetNumberOfPoints(lv);
    }

Should change to:

  if (this->Points)
    {
    double x[3];
    this->Points->GetPoint(lv,x);
    this->Points->SetPoint(v, x);
    this->Points->SetNumberOfPoints(lv);
    }

Best regards,

Naszta


More information about the vtk-developers mailing list