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.
This commit is contained in:
parent
e7f85d404d
commit
38c74a968b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue