Skip to content

Commit

Permalink
Fix load_mesh.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ManifoldFR committed May 19, 2024
1 parent 5131ff9 commit 6486c16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/load_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ rerun::archetypes::Mesh3D meshDescriptionToRerun(MeshDescription &&mesh) {
}

auto rmesh = rerun::archetypes::Mesh3D(std::move(mesh.vertices))
.with_mesh_properties(
rerun::components::MeshProperties(std::move(indices)))
.with_triangle_indices(std::move(indices))
.with_vertex_normals(std::move(mesh.normals))
.with_vertex_colors(std::move(mesh.colors));
return rmesh;
Expand Down

0 comments on commit 6486c16

Please sign in to comment.