Explorar o código

solve issue #2003 (ParticleDepositionHeightMap.load return value) (#2005)

Stephen Gold %!s(int64=2) %!d(string=hai) anos
pai
achega
921e0f4513

+ 2 - 3
jme3-terrain/src/main/java/com/jme3/terrain/heightmap/ParticleDepositionHeightMap.java

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2021 jMonkeyEngine
+ * Copyright (c) 2009-2023 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -321,8 +321,7 @@ public class ParticleDepositionHeightMap extends AbstractHeightMap {
 
         logger.fine("Created heightmap using Particle Deposition");
 
-
-        return false;
+        return true; // success
     }
 
     /**