You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
@@ -1163,11 +1163,11 @@ void VisualServer::mesh_add_surface_from_arrays(RID p_mesh, PrimitiveType p_prim
|
||||
PoolVector<uint8_t> noindex;
|
||||
|
||||
AABB laabb;
|
||||
Error err = _surface_set_data(p_blend_shapes[i], format & ~ARRAY_FORMAT_INDEX, offsets, total_elem_size, vertex_array_shape, array_len, noindex, 0, laabb, bone_aabb);
|
||||
Error err2 = _surface_set_data(p_blend_shapes[i], format & ~ARRAY_FORMAT_INDEX, offsets, total_elem_size, vertex_array_shape, array_len, noindex, 0, laabb, bone_aabb);
|
||||
aabb.merge_with(laabb);
|
||||
if (err) {
|
||||
if (err2) {
|
||||
ERR_EXPLAIN("Invalid blend shape array format for surface");
|
||||
ERR_FAIL_COND(err != OK);
|
||||
ERR_FAIL_COND(err2 != OK);
|
||||
}
|
||||
|
||||
blend_shape_data.push_back(vertex_array_shape);
|
||||
|
||||
Reference in New Issue
Block a user