From d1a3ef267d5d2b5bcac971367f9c96cbe0408b5e Mon Sep 17 00:00:00 2001 From: David Cattermole Date: Sat, 9 Nov 2024 23:27:16 +1100 Subject: [PATCH] Mesh From Points - Fix bug --- python/mmSolver/tools/meshfrompoints/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mmSolver/tools/meshfrompoints/lib.py b/python/mmSolver/tools/meshfrompoints/lib.py index bbb857af..b46bd68d 100644 --- a/python/mmSolver/tools/meshfrompoints/lib.py +++ b/python/mmSolver/tools/meshfrompoints/lib.py @@ -76,7 +76,7 @@ def _delaunator_indices(world_positions, flat_positions): def _best_fit_plane_matrix_from_3d_points(world_positions): - assert world_positions.len() >= const.MINIMUM_NUMBER_OF_POINTS + assert len(world_positions) >= const.MINIMUM_NUMBER_OF_POINTS # Our plug-in must be loaded to access the mmBestFitPlane command. mmapi.load_plugin()