also set $pos

This commit is contained in:
Adrian Mariano 2024-02-19 17:54:18 -05:00
parent 077ec7402f
commit aeff878dfc

View File

@ -694,6 +694,7 @@ module grid_copies(spacing, n, size, stagger=false, inside=undef, nonzero)
]; ];
for(i=idx(poslist)){ for(i=idx(poslist)){
$idx=i; $idx=i;
$pos=poslist[i][0];
$row=poslist[i][1]; $row=poslist[i][1];
$col=poslist[i][2]; $col=poslist[i][2];
translate(poslist[i][0])children(); translate(poslist[i][0])children();