From 2179bba2f573ffa68db141b521a2e3879a392971 Mon Sep 17 00:00:00 2001 From: "Alexis \"spectria\" Horizon" Date: Wed, 7 Feb 2024 12:32:19 -0500 Subject: [PATCH] Update to latest `main`. --- crates/bevy_render/src/mesh/primitives/dim2.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_render/src/mesh/primitives/dim2.rs b/crates/bevy_render/src/mesh/primitives/dim2.rs index 5ff102c140901e..c57f8e71b492d5 100644 --- a/crates/bevy_render/src/mesh/primitives/dim2.rs +++ b/crates/bevy_render/src/mesh/primitives/dim2.rs @@ -154,7 +154,7 @@ impl CircularSectorMeshBuilder { .with_inserted_attribute(Mesh::ATTRIBUTE_POSITION, positions) .with_inserted_attribute(Mesh::ATTRIBUTE_NORMAL, normals) .with_inserted_attribute(Mesh::ATTRIBUTE_UV_0, uvs) - .with_indices(Some(Indices::U32(indices))) + .with_inserted_indices(Indices::U32(indices)) } } @@ -256,7 +256,7 @@ impl CircularSegmentMeshBuilder { .with_inserted_attribute(Mesh::ATTRIBUTE_POSITION, positions) .with_inserted_attribute(Mesh::ATTRIBUTE_NORMAL, normals) .with_inserted_attribute(Mesh::ATTRIBUTE_UV_0, uvs) - .with_indices(Some(Indices::U32(indices))) + .with_inserted_indices(Indices::U32(indices)) } }