mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix typos with codespell
Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
This commit is contained in:
parent
42b6602f1d
commit
4219a4cb6f
57 changed files with 146 additions and 145 deletions
|
@ -873,10 +873,10 @@ Error RenderingServer::mesh_create_surface_data_from_arrays(SurfaceData *r_surfa
|
|||
} else if (i == RS::ARRAY_BONES) {
|
||||
switch (p_arrays[i].get_type()) {
|
||||
case Variant::PACKED_INT32_ARRAY: {
|
||||
Vector<Vector3> vertexes = p_arrays[RS::ARRAY_VERTEX];
|
||||
Vector<Vector3> vertices = p_arrays[RS::ARRAY_VERTEX];
|
||||
Vector<int32_t> bones = p_arrays[i];
|
||||
int32_t bone_8_group_count = bones.size() / (ARRAY_WEIGHTS_SIZE * 2);
|
||||
int32_t vertex_count = vertexes.size();
|
||||
int32_t vertex_count = vertices.size();
|
||||
if (vertex_count == bone_8_group_count) {
|
||||
format |= RS::ARRAY_FLAG_USE_8_BONE_WEIGHTS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue