Browse Source

AssetConfig: Platform asset config now returned as URL
- Return back DesktopAssetManager constructor with boolean argument - this time it shall use platform config instead of always using Desktop.cfg

shadowislord 10 years ago
parent
commit
e1e514a5ae

+ 1 - 1
jme3-materialeditor/src/com/jme3/gde/materials/nvcompress/NVCompress.java

@@ -454,7 +454,7 @@ public class NVCompress extends javax.swing.JFrame {
             manager = JmeSystem.newAssetManager();
 
         manager.registerLocator(input.getParent().toString(),
-                                FileLocator.class.getName());
+                                FileLocator.class);
 
         String format = (String) cmbCompressType.getSelectedItem();
         if (format.equals("PNG-RGBE")){