Skip to content

Commit

Permalink
fixed bug in stl2inr with struct input
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbles committed Jul 3, 2020
1 parent 14f1442 commit fe3aaee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MATLAB/stl2inr.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
if isstruct(STLin)
stlsurf.vertices = STLin.vtx;
stlsurf.faces = STLin.tri;
STLin = STLin.name;
savepath = STLin.path;
savename = STLin.name;
else
disp('Loading Stl meshes');
[stlsurf.vertices,stlsurf.faces,stlsurf.normals,stlsurf.name] = stlRead(STLin);
Expand Down

0 comments on commit fe3aaee

Please sign in to comment.