Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Tald0r
38c74a968b
fix(regions): correct end Z coordinate assignment in InitRectangles (#2597)
The `ez` variable was incorrectly assigned `rect.End.X` instead of `rect.End.Z`, causing incorrect rectangle processing in region initialization.
2026-08-27 06:51:42 -07:00

View file

@ -113,7 +113,7 @@ public class BaseRegion : Region
m_RectBuffer2.RemoveAt(k); m_RectBuffer2.RemoveAt(k);
var sz = rect.Start.Z; var sz = rect.Start.Z;
var ez = rect.End.X; var ez = rect.End.Z;
if (l1 < l2) if (l1 < l2)
{ {