From 65c228ff1590accd0d39d8060a7d8a6fa3ca9705 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Wed, 10 Aug 2011 18:54:15 +0000 Subject: [PATCH] - 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 --- 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 72c529596..bc6e4f007 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{ - throw new AssetNotFoundException(path); + return null; } }