diff --git a/planefit.py b/planefit.py index e708cfe..15c7c11 100644 --- a/planefit.py +++ b/planefit.py @@ -81,7 +81,7 @@ def execute(self, context): if count > 0: # degenerate mesh, but better safe than sorry shape = (count, 3) verts = np.empty(count * 3, dtype=np.float32) - selected = np.empty(count, dtype=np.bool) + selected = np.empty(count, dtype=bool) me.vertices.foreach_get("co", verts) me.vertices.foreach_get("select", selected) verts.shape = shape