@@ -436,6 +436,7 @@ public synchronized void copyState(Scene other, boolean copyChunks) {
436
436
waterColor .set (other .waterColor );
437
437
fog .set (other .fog );
438
438
biomeColors = other .biomeColors ;
439
+ biomeBlendingRadius = other .biomeBlendingRadius ;
439
440
sunSamplingStrategy = other .sunSamplingStrategy ;
440
441
emittersEnabled = other .emittersEnabled ;
441
442
emitterIntensity = other .emitterIntensity ;
@@ -2573,6 +2574,7 @@ public void setUseCustomWaterColor(boolean value) {
2573
2574
currentWaterShader .save (json );
2574
2575
json .add ("fog" , fog .toJson ());
2575
2576
json .add ("biomeColorsEnabled" , biomeColors );
2577
+ json .add ("biomeBlendingRadius" , biomeBlendingRadius );
2576
2578
json .add ("transparentSky" , transparentSky );
2577
2579
json .add ("waterWorldEnabled" , waterPlaneEnabled );
2578
2580
json .add ("waterWorldHeight" , waterPlaneHeight );
@@ -2876,6 +2878,7 @@ else if(waterShader.equals("SIMPLEX"))
2876
2878
JsonUtil .rgbFromJson (json .get ("waterColor" ), waterColor );
2877
2879
}
2878
2880
biomeColors = json .get ("biomeColorsEnabled" ).boolValue (biomeColors );
2881
+ biomeBlendingRadius = json .get ("biomeBlendingRadius" ).intValue (biomeBlendingRadius );
2879
2882
transparentSky = json .get ("transparentSky" ).boolValue (transparentSky );
2880
2883
JsonValue fogObj = json .get ("fog" );
2881
2884
if (fogObj .isObject ()) {
0 commit comments