Skip to content

Commit ded378f

Browse files
committed
Fixed inner loop mispositioning when stretching.
1 parent ac98d42 commit ded378f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

@Basic_S.anm2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- under development for v2.02 (for beta42) r1
1+
-- under development for v2.02 (for beta43b) r2
22
--[[
33
MIT License
44
Copyright (c) 2025-2026 sigma-axis
@@ -2701,7 +2701,7 @@ local function adjust_margin(m1, m2, sz, len, unit, loop, piv)
27012701
or math.ceil(L / mid) * mid;
27022702
end
27032703
len = L + (rnd < 3 and pad or 0);
2704-
if rnd >= 3 and mid > 0 and len > 0 then
2704+
if rnd >= 3 and mid > 0 and len > 0 and loop ~= 3 then
27052705
if rnd == 3 then
27062706
p0 = p0 + ((1 - piv) / 2) * (len - pad);
27072707
p0 = m1 - ((m1 - p0) % mid); -- make sure p0 <= m1.

0 commit comments

Comments
 (0)