WIP: Mesh Tissue: Use the new ShapeKey.points with faster foreach_get/set #105135
@ -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