- Store j3m files in Materials/Generated folder

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10126 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 461f653cf7
commit f604d12879
  1. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/MaterialPropertyEditor.java

@ -107,7 +107,7 @@ public class MaterialPropertyEditor implements PropertyEditor, SceneExplorerProp
DataObject obj = geom.getLookup().lookup(DataObject.class);
assert (obj != null);
FileObject currentFile = obj.getPrimaryFile();
FileObject currentFolder = pm.getAssetFolder().getFileObject("Materials/");
FileObject currentFolder = pm.getAssetFolder().getFileObject("Materials/Generated");
if (currentFolder == null) {
currentFolder = FileUtil.createFolder(pm.getAssetFolder(), "Materials");
}

Loading…
Cancel
Save