From c26e4d8e42746a062ef93af29dd02c25b8291364 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Wed, 10 Aug 2011 18:57:56 +0000 Subject: [PATCH] - revert previous change as wrong image paths might result git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java b/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java index bc6e4f007..72c529596 100644 --- a/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java +++ b/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java @@ -75,7 +75,7 @@ public class NiftyJmeDisplay implements SceneProcessor { if (info != null){ return info.openStream(); }else{ - return null; + throw new AssetNotFoundException(path); } }