3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Fix smooth brush

Dieser Commit ist enthalten in:
Jesse Boyd 2019-04-06 06:52:12 +11:00
Ursprung 39830046bc
Commit 6558e549fd
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -92,7 +92,10 @@ public class HeightMap {
int yTmp = 255; int yTmp = 255;
for (int z = 0; z < height; ++z) { for (int z = 0; z < height; ++z) {
for (int x = 0; x < width; ++x, index++) { for (int x = 0; x < width; ++x, index++) {
if (mask != null)
yTmp = session.getNearestSurfaceTerrainBlock(x + minX, z + minZ, yTmp, minY, maxY, Integer.MIN_VALUE, Integer.MAX_VALUE, mask); yTmp = session.getNearestSurfaceTerrainBlock(x + minX, z + minZ, yTmp, minY, maxY, Integer.MIN_VALUE, Integer.MAX_VALUE, mask);
else
yTmp = session.getNearestSurfaceTerrainBlock(x + minX, z + minZ, yTmp, minY, maxY, Integer.MIN_VALUE, Integer.MAX_VALUE);
switch (yTmp) { switch (yTmp) {
case Integer.MIN_VALUE: case Integer.MIN_VALUE:
yTmp = minY; yTmp = minY;