Skip to content

Commit 914718f

Browse files
committed
Fix bug in Mesh!
1 parent 20b33a8 commit 914718f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Primitives.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ function Mesh!(turtle::Turtle{FT,UT}, m::PGP.Mesh; scale::PGP.Vec{FT} = PGP.Vec{
11441144
append!(PGP.vertices(PGP.Mesh(turtle)), PGP.vertices(mnew))
11451145
# Make sure to also add the normals
11461146
PGP.update_normals!(mnew)
1147-
PGP.add_property!(PGP.Mesh(turtle), :normal, PGP.normals(mnew))
1147+
PGP.add_property!(PGP.Mesh(turtle), :normals, PGP.normals(mnew))
11481148
move && f!(turtle, length)
11491149
# Set properties per triangle
11501150
for (k, v) in kwargs

0 commit comments

Comments
 (0)