Commit 58b431fb authored by Brad King's avatar Brad King
Browse files

BUG: Updated deprecation version to 4.2 since 4.1 was not really a release.

parent c3437f72
......@@ -21,12 +21,12 @@
#include "vtkPolyData.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkPointLocator2D, "1.23");
vtkCxxRevisionMacro(vtkPointLocator2D, "1.23.12.1");
vtkCxxSetObjectMacro(vtkPointLocator2D,Points,vtkPoints);
vtkPointLocator2D* vtkPointLocator2D::New()
{
vtkGenericWarningMacro("PointLocator2D is being deprecated in VTK 4.1. There is no replacement for it.");
vtkGenericWarningMacro("PointLocator2D is being deprecated in VTK 4.2. There is no replacement for it.");
vtkObject* ret = vtkObjectFactory::CreateInstance("vtkPointLocator2D");
if(ret)
{
......
......@@ -21,11 +21,11 @@
#include "vtkIdList.h"
#include "vtkPoints.h"
vtkCxxRevisionMacro(vtkMergePoints2D, "1.12");
vtkCxxRevisionMacro(vtkMergePoints2D, "1.12.12.1");
vtkMergePoints2D* vtkMergePoints2D::New()
{
vtkGenericWarningMacro("MergePoints2D is being deprecated in VTK 4.1. There is no replacement for it.");
vtkGenericWarningMacro("MergePoints2D is being deprecated in VTK 4.2. There is no replacement for it.");
vtkObject* ret = vtkObjectFactory::CreateInstance("vtkMergePoints2D");
if(ret)
{
......
Supports Markdown
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