Change Array arguments to TypedArray
This commit is contained in:
@@ -5007,7 +5007,7 @@ GLTFMeshIndex GLTFDocument::_convert_mesh_to_gltf(Ref<GLTFState> state, MeshInst
|
||||
|
||||
Ref<GLTFMesh> gltf_mesh;
|
||||
gltf_mesh.instantiate();
|
||||
Array instance_materials;
|
||||
TypedArray<Material> instance_materials;
|
||||
for (int32_t surface_i = 0; surface_i < current_mesh->get_surface_count(); surface_i++) {
|
||||
Ref<Material> mat = current_mesh->get_surface_material(surface_i);
|
||||
if (p_mesh_instance->get_surface_override_material(surface_i).is_valid()) {
|
||||
|
||||
Reference in New Issue
Block a user