diff --git a/src/surface/sf_thickenT.scad b/src/surface/sf_thickenT.scad index 97e5d9ed..88ddfbd1 100644 --- a/src/surface/sf_thickenT.scad +++ b/src/surface/sf_thickenT.scad @@ -22,10 +22,7 @@ module sf_thickenT(points, thickness, triangles = undef, direction = "BOTH", con leng_pts = len(points); range = [0:leng_pts - 1]; - conn_indices_tris = [ - for(tri = real_triangles, i = range) - if(contains(tri, i)) [i, tri] - ]; + conn_indices_tris = [for(tri = real_triangles, i = tri) [i, tri]]; if(is_list(direction)) { dir_v = direction / norm(direction);