You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user