From b7739eba44138d6e2a5e8199f6f828013578ff50 Mon Sep 17 00:00:00 2001 From: ffreyer Date: Fri, 6 Sep 2024 14:32:00 +0200 Subject: [PATCH] update stl --- src/io/stl.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io/stl.jl b/src/io/stl.jl index 6dc838e..d40ee98 100644 --- a/src/io/stl.jl +++ b/src/io/stl.jl @@ -84,7 +84,7 @@ function load(fs::Stream{format"STL_BINARY"}; facetype=GLTriangleFace, i += 1 end - return Mesh(meta(vertices; normals=normals), faces) + return Mesh(vertices, faces; normal = normals) end @@ -127,5 +127,5 @@ function load(fs::Stream{format"STL_ASCII"}; facetype=GLTriangleFace, push!(faces, TriangleFace{Int}(vert_idx...)) end end - return Mesh(meta(points; normals=normals), faces) + return Mesh(points, faces; normal = normals) end