From 4418397d2ccd828ba44bca85766a988a98ef1933 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 18 Feb 2024 12:00:40 +0100 Subject: [PATCH] fixes to cityjson invocation --- src/ifcconvert/IfcConvert.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index baeb3409de..3f2983e085 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -682,7 +682,7 @@ int main(int argc, char** argv) { return exit_code; } #ifdef IFOPSH_WITH_CGAL - else if ((output_extension == CITY_JSON || output_extension == OBJ || output_extension == DAE || output_extension == GLB) && vmap.count("exterior-only") && exterior_only_algo != "none") { + else if (output_extension == CITY_JSON || (output_extension == OBJ || output_extension == DAE || output_extension == GLB) && vmap.count("exterior-only") && exterior_only_algo != "none") { // none, convex-decomposition, minkowski-triangles or halfspace-snapping boost::to_lower(exterior_only_algo); @@ -695,6 +695,8 @@ int main(int argc, char** argv) { // } else if (exterior_only_algo == "convex-decomposition") { // + } else if (exterior_only_algo == "none") { + // } else { cerr_ << "[Error] --exterior-only should be convex-decomposition|minkowski-triangles|halfspace-snapping" << std::endl; print_usage();