Skip to content

Commit

Permalink
Error when compiling for VTK 6
Browse files Browse the repository at this point in the history
  • Loading branch information
fran6co committed Jul 31, 2014
1 parent 8d00274 commit dcb89cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/obj2pcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ main (int argc, char** argv)
if (copy_normals)
{
vtkSmartPointer<vtkPolyDataNormals> ng = vtkSmartPointer<vtkPolyDataNormals>::New ();
#if OBJ_MAJOR_VERSION < 6
#if VTK_MAJOR_VERSION < 6
ng->SetInput (polydata);
#else
ng->SetInputData (polydata);
Expand Down

0 comments on commit dcb89cf

Please sign in to comment.