mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-25 05:35:25 +02:00
VoxelArea: Fix missing cacheExtent calls in helpers (#15657)
This commit is contained in:
@@ -103,6 +103,7 @@ public:
|
||||
{
|
||||
MinEdge -= d;
|
||||
MaxEdge += d;
|
||||
cacheExtent();
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -188,6 +189,7 @@ public:
|
||||
ret.MaxEdge.Y = std::min(a.MaxEdge.Y, MaxEdge.Y);
|
||||
ret.MinEdge.Z = std::max(a.MinEdge.Z, MinEdge.Z);
|
||||
ret.MaxEdge.Z = std::min(a.MaxEdge.Z, MaxEdge.Z);
|
||||
ret.cacheExtent();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user