From 36a1b2857024d860ce3f062af3c279b19e1a4783 Mon Sep 17 00:00:00 2001 From: varkenvarken Date: Sat, 28 Dec 2024 10:33:39 +0100 Subject: [PATCH] updated for Blender 4.3 --- planefit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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