WIP: Mesh Tissue: Use the new ShapeKey.points with faster foreach_get/set #105135
@ -19,8 +19,8 @@
|
||||
bl_info = {
|
||||
"name": "Tissue",
|
||||
"author": "Alessandro Zomparelli (Co-de-iT)",
|
||||
"version": (0, 3, 54),
|
||||
"blender": (2, 93, 0),
|
||||
"version": (0, 3, 55),
|
||||
"blender": (4, 1, 0),
|
||||
"location": "",
|
||||
"description": "Tools for Computational Design",
|
||||
"warning": "",
|
||||
|
@ -995,7 +995,7 @@ def tessellate_patch(props):
|
||||
for i in range(n_sk):
|
||||
coordinates = np.concatenate(store_sk_coordinates[:,i], axis=0)
|
||||
coordinates = coordinates.flatten().tolist()
|
||||
new_patch.data.shape_keys.key_blocks[i+1].data.foreach_set('co', coordinates)
|
||||
new_patch.data.shape_keys.key_blocks[i+1].points.foreach_set('co', coordinates)
|
||||
|
||||
# set original values and combine Shape Keys and Vertex Groups
|
||||
for sk, val in zip(_ob1.data.shape_keys.key_blocks, original_key_values):
|
||||
|
Loading…
Reference in New Issue
Block a user