mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-11 04:54:33 +02:00
Fixed bug in offset(), failure for r=0
This commit is contained in:
@@ -702,6 +702,7 @@ function offset(
|
||||
],
|
||||
steps = is_def(delta) ? [] : [
|
||||
for(i=[0:len(goodsegs)-1])
|
||||
r==0 ? 0 :
|
||||
ceil(
|
||||
abs(r)*vector_angle(
|
||||
select(goodsegs,i-1)[1]-goodpath[i],
|
||||
|
Reference in New Issue
Block a user