Merge pull request #1239 from BelfrySCAD/revarbat_dev

Textures linear_sweep() bugfix.
This commit is contained in:
Revar Desmera 2023-08-03 20:14:18 -07:00 committed by GitHub
commit 9cbabd5787
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3642,7 +3642,7 @@ function _textured_linear_sweep(
mat = up((v-0.5)*h) *
scale(sc) *
zrot(twist*v)
) apply(mat, tile_rows[texcnt.y-ti-1])
) apply(mat, tile_rows[(texcnt.y-ti)%texcnt.y])
]
) vnf_vertex_array(
tiles, caps=false, style=style,