new addon simple_deform_helper #104464

Closed
EMM wants to merge 29 commits from Guai_Wo_Ge_EMM/blender-addons:simple_deform_helper into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 412f2d2d89 - Show all commits

View File

@ -259,7 +259,7 @@ class GizmoClassMethod(PublicTranslate):
elif obj.type == 'LATTICE':
ver_len = obj.data.points.__len__()
list_vertices = np.zeros(ver_len * 3, dtype=np.float32)
obj.data.points.foreach_get('co', list_vertices)
obj.data.points.foreach_get('co_deform', list_vertices)
list_vertices = list_vertices.reshape(ver_len, 3)
return Vector(list_vertices.min(axis=0)).freeze(), Vector(list_vertices.max(axis=0)).freeze()