- re-add nifty addResourceLocation.. why doesn't it load xml from assetManager too? :(
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8728 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
ef9d2bc171
commit
57b64fa8d4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user