Skip to content

Commit

Permalink
Fixes incorrect return value of pcl converter
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho authored and UnaNancyOwen committed Nov 24, 2017
1 parent 00eba31 commit 1241584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/tools/converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ main (int argc,
if (cloud_output)
mesh.polygons.clear();

if (saveMesh (mesh, argv[file_args[1]], output_type))
if (!saveMesh (mesh, argv[file_args[1]], output_type))
return (-1);
}
else if (boost::filesystem::path (argv[file_args[0]]).extension () == ".stl")
Expand Down

0 comments on commit 1241584

Please sign in to comment.