mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
This commit is contained in:
commit
21fd4faf1b
19 changed files with 52 additions and 52 deletions
|
@ -2988,9 +2988,9 @@ Error GLTFDocument::_serialize_meshes(Ref<GLTFState> p_state) {
|
|||
}
|
||||
}
|
||||
gltf_texcoord_key = vformat("TEXCOORD_%d", texcoord_i);
|
||||
attributes[gltf_texcoord_key] = _encode_accessor_as_vec2(p_state, first_channel, true);
|
||||
attributes[gltf_texcoord_key] = _encode_accessor_as_vec2(p_state, Vector<Vector2>(first_channel), true);
|
||||
gltf_texcoord_key = vformat("TEXCOORD_%d", texcoord_i + 1);
|
||||
attributes[gltf_texcoord_key] = _encode_accessor_as_vec2(p_state, second_channel, true);
|
||||
attributes[gltf_texcoord_key] = _encode_accessor_as_vec2(p_state, Vector<Vector2>(second_channel), true);
|
||||
}
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue