SDK:
- fix in ProjectAssetManager getResourceAsStream git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9865 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
89e5c6f89e
commit
53afc0f02e
@ -35,6 +35,7 @@ import com.jme3.asset.AssetEventListener;
|
|||||||
import com.jme3.asset.AssetKey;
|
import com.jme3.asset.AssetKey;
|
||||||
import com.jme3.asset.AssetManager;
|
import com.jme3.asset.AssetManager;
|
||||||
import com.jme3.asset.DesktopAssetManager;
|
import com.jme3.asset.DesktopAssetManager;
|
||||||
|
import com.jme3.system.JmeSystem;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
@ -369,7 +370,7 @@ public class ProjectAssetManager extends DesktopAssetManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public InputStream getResourceAsStream(String name) {
|
public InputStream getResourceAsStream(String name) {
|
||||||
InputStream in = this.getClass().getResourceAsStream(name);
|
InputStream in = null;//JmeSystem.getResourceAsStream(name);
|
||||||
|
|
||||||
if (in == null && classPathItems != null) {
|
if (in == null && classPathItems != null) {
|
||||||
// TODO I need to find out if classPathItems contains all jars added to a project
|
// TODO I need to find out if classPathItems contains all jars added to a project
|
||||||
|
Loading…
x
Reference in New Issue
Block a user