- clear asset list data after failed import in ModelImportTool

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9472 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 7260603652
commit 00641863cf
  1. 2
      sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ModelImporterVisualPanel3.java

@ -46,6 +46,8 @@ public final class ModelImporterVisualPanel3 extends JPanel {
} }
public void loadSettings(WizardDescriptor wiz) { public void loadSettings(WizardDescriptor wiz) {
jList1.setListData(new Object[0]);
jList2.setListData(new Object[0]);
manager = (ProjectAssetManager) wiz.getProperty("manager"); manager = (ProjectAssetManager) wiz.getProperty("manager");
mainKey = (AssetKey) wiz.getProperty("mainkey"); mainKey = (AssetKey) wiz.getProperty("mainkey");
data = (AssetData) wiz.getProperty("assetdata"); data = (AssetData) wiz.getProperty("assetdata");

Loading…
Cancel
Save