Forráskód Böngészése

- fix NiftyJmeDisplay so that other locators can be registered for NiftyGUI

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8000 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 14 éve
szülő
commit
65c228ff15

+ 1 - 1
engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java

@@ -75,7 +75,7 @@ public class NiftyJmeDisplay implements SceneProcessor {
             if (info != null){
                 return info.openStream();
             }else{
-                throw new AssetNotFoundException(path);
+                return null;
             }
         }