|
@@ -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);
|