Release bounds after usage.
This commit is contained in:
1 parent
c7b2245005
commit
26a3ea4b18
1 file changed
+2
@@ -255,6 +255,8 @@ public class HeightMap {
|
||||
float zoneArea = (heightMapZone.getBounds().getHalfExtents().x) *
|
||||
(heightMapZone.getBounds().getHalfExtents().y);
|
||||
|
||||
blendBounds.release();
|
||||
|
||||
float blendDelta = zoneArea - maxBlendArea;
|
||||
float currentDelta = zoneArea - currentArea;
|
||||
|
||||
|
||||
Reference in new issue
Block a user