From a0fbd71d41747e19531a4233c7ee3a9db0624306 Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Thu, 18 Apr 2024 15:35:53 +1000 Subject: [PATCH] Fix PoissonRecon failed with n threads log message The message was reporting failure with n threads and retrying with n // 2, however a few lines up threads was already set to n // 2 representing the next thread count to try. --- opendm/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendm/mesh.py b/opendm/mesh.py index e8e676c8..584458bf 100644 --- a/opendm/mesh.py +++ b/opendm/mesh.py @@ -187,7 +187,7 @@ def screened_poisson_reconstruction(inPointCloud, outMesh, depth = 8, samples = if threads < 1: break else: - log.ODM_WARNING("PoissonRecon failed with %s threads, let's retry with %s..." % (threads, threads // 2)) + log.ODM_WARNING("PoissonRecon failed with %s threads, let's retry with %s..." % (threads * 2, threads)) # Cleanup and reduce vertex count if necessary