Commit 1a4bdc71 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Fix support for VTK_FLOAT

parent c583b9eb
......@@ -20,7 +20,7 @@
#include "math.h"
vtkCxxRevisionMacro(vtkGridTransform, "1.20.2.1");
vtkCxxRevisionMacro(vtkGridTransform, "1.20.2.2");
vtkStandardNewMacro(vtkGridTransform);
vtkCxxSetObjectMacro(vtkGridTransform,DisplacementGrid,vtkImageData);
......@@ -1182,6 +1182,7 @@ void vtkGridTransform::InternalUpdate()
grid->GetScalarType() != VTK_UNSIGNED_CHAR &&
grid->GetScalarType() != VTK_SHORT &&
grid->GetScalarType() != VTK_UNSIGNED_SHORT &&
grid->GetScalarType() != VTK_FLOAT &&
grid->GetScalarType() != VTK_DOUBLE)
{
vtkErrorMacro(<< "TransformPoint: displacement grid is of unsupported numerical type");
......
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