From 6bddadd48afcf0d2f6b91c5a08558d071c2e0b95 Mon Sep 17 00:00:00 2001 From: Federico Rinaldi Date: Tue, 13 Feb 2024 16:52:49 +0100 Subject: [PATCH] Fix CI (#237) --- src/plugin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.rs b/src/plugin.rs index 8e99adc..badf210 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -131,7 +131,7 @@ fn build_mesh(buffers: &VertexBuffers) -> Mesh { PrimitiveTopology::TriangleList, RenderAssetUsages::RENDER_WORLD, ); - mesh.set_indices(Some(Indices::U32(buffers.indices.clone()))); + mesh.insert_indices(Indices::U32(buffers.indices.clone())); mesh.insert_attribute( Mesh::ATTRIBUTE_POSITION, buffers