Skip to content

Commit 2179bba

Browse files
Update to latest main.
1 parent 843275b commit 2179bba

File tree

1 file changed

+2
-2
lines changed
  • crates/bevy_render/src/mesh/primitives

1 file changed

+2
-2
lines changed

crates/bevy_render/src/mesh/primitives/dim2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl CircularSectorMeshBuilder {
154154
.with_inserted_attribute(Mesh::ATTRIBUTE_POSITION, positions)
155155
.with_inserted_attribute(Mesh::ATTRIBUTE_NORMAL, normals)
156156
.with_inserted_attribute(Mesh::ATTRIBUTE_UV_0, uvs)
157-
.with_indices(Some(Indices::U32(indices)))
157+
.with_inserted_indices(Indices::U32(indices))
158158
}
159159
}
160160

@@ -256,7 +256,7 @@ impl CircularSegmentMeshBuilder {
256256
.with_inserted_attribute(Mesh::ATTRIBUTE_POSITION, positions)
257257
.with_inserted_attribute(Mesh::ATTRIBUTE_NORMAL, normals)
258258
.with_inserted_attribute(Mesh::ATTRIBUTE_UV_0, uvs)
259-
.with_indices(Some(Indices::U32(indices)))
259+
.with_inserted_indices(Indices::U32(indices))
260260
}
261261
}
262262

0 commit comments

Comments
 (0)