SDK:
- Store j3m files in Materials/Generated folder git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10126 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
461f653cf7
commit
f604d12879
@ -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…
x
Reference in New Issue
Block a user