2
0
Эх сурвалжийг харах

* Ensure LwjglOffscreenBuffer extracts the required natives
* Fix Installer class in SDK to use NativeLibraryLoader.setCustomNativesFolder() instead of the Natives.setCustomDir()

shadowislord 11 жил өмнө
parent
commit
75ccfcd16e

+ 2 - 2
jme3-core/src/com/jme3/gde/core/Installer.java

@@ -109,8 +109,8 @@ public class Installer extends ModuleInstall {
             logger.log(Level.INFO, "Create settings dir {0}", projectDir);
             file.mkdirs();
         }
-        com.jme3.system.Natives.setExtractionDir(jmpDir);
-
+        
+        com.jme3.system.NativeLibraryLoader.setCustomExtractionFolder(jmpDir);
         //avoid problems with lightweight popups
         JPopupMenu.setDefaultLightWeightPopupEnabled(false);
     }