diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyPreviewPanel.java b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyPreviewPanel.java index ba2ba7be1..0cf685294 100644 --- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyPreviewPanel.java +++ b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyPreviewPanel.java @@ -244,6 +244,8 @@ public class NiftyPreviewPanel extends PanelView { audioRenderer, guiViewPort); nifty = niftyDisplay.getNifty(); + //TODO: assetManager isn't used for loading xml?? + de.lessvoid.nifty.tools.resourceloader.ResourceLoader.addResourceLocation(new FileSystemLocation(new File(pm.getAssetFolderName()))); // attach the nifty display to the gui view port as a processor guiViewPort.addProcessor(niftyDisplay);