From 1241584a77890aa58f684061a732bba66408454e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Agostinho?= Date: Mon, 26 Jun 2017 14:33:16 +0100 Subject: [PATCH] Fixes incorrect return value of pcl converter Fixes #1851 --- io/tools/converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/tools/converter.cpp b/io/tools/converter.cpp index 774a01431d6..8c0b6ee3d70 100644 --- a/io/tools/converter.cpp +++ b/io/tools/converter.cpp @@ -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")