فهرست منبع

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

Stephen Gold 2 سال پیش
والد
کامیت
921e0f4513
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      jme3-terrain/src/main/java/com/jme3/terrain/heightmap/ParticleDepositionHeightMap.java

+ 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
     }
 
     /**