Skip to content

Commit

Permalink
updated for Blender 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
varkenvarken committed Dec 28, 2024
1 parent 9af1253 commit 36a1b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planefit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36a1b28

Please sign in to comment.