Skip to content

Commit

Permalink
Fix PoissonRecon failed with n threads log message
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
andrewharvey authored Apr 18, 2024
1 parent 6084d1d commit a0fbd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendm/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0fbd71

Please sign in to comment.