Explorar o código

- remove size check from natives extraction (write test needed for windows anyway)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 %!s(int64=14) %!d(string=hai) anos
pai
achega
2c0775e3f3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      engine/src/desktop/com/jme3/system/Natives.java

+ 1 - 1
engine/src/desktop/com/jme3/system/Natives.java

@@ -64,7 +64,7 @@ public class Natives {
         }
         if (extractionDir == null) {
             File workingFolder = new File("").getAbsoluteFile();
-            if (workingFolder.getUsableSpace() == 0 || !workingFolder.canWrite()) {
+            if (!workingFolder.canWrite()) {
                 setStorageExtractionDir();
             } else {
                 try {