- 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
3.0
nor..67 13 years ago
parent ef9d2bc171
commit 57b64fa8d4
  1. 2
      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);

Loading…
Cancel
Save