mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 13:31:30 +02:00
avoided warning when found_at_i == 0
This commit is contained in:
@@ -49,7 +49,7 @@ module polysections(sections, triangles = "SOLID") {
|
||||
let(
|
||||
found_at_i = search_at(f_sect, l_sect[0], leng_pts_sect)
|
||||
)
|
||||
found_at_i == -1 ? false :
|
||||
found_at_i <= 0 ? false :
|
||||
l_sect == concat(
|
||||
[for(i = [found_at_i:leng_pts_sect-1]) f_sect[i]],
|
||||
[for(i = [0:found_at_i - 1]) f_sect[i]]
|
||||
|
Reference in New Issue
Block a user