Skip to content

Commit

Permalink
Merge pull request #817 from fran6co/patch-8
Browse files Browse the repository at this point in the history
Error when compiling for VTK 6
  • Loading branch information
taketwo committed Jul 31, 2014
2 parents 8d00274 + dcb89cf commit 4cc066f
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 4cc066f

Please sign in to comment.