- close asset after loading with ModelImportTool
experimental
Normen Hansen 10 years ago
parent 4bd774a653
commit ceb45ff718
  1. 1
      sdk/jme3-model-importer/src/com/jme3/gde/modelimporter/ImportModel.java

@ -212,6 +212,7 @@ public final class ImportModel implements ActionListener {
} }
replaceLocatedTextures(spat, manager); replaceLocatedTextures(spat, manager);
targetData.saveAsset(); targetData.saveAsset();
targetData.closeAsset();
((SpatialAssetDataObject) targetModel).getLookupContents().remove(tempProjectManager); ((SpatialAssetDataObject) targetModel).getLookupContents().remove(tempProjectManager);
} }
} catch (Exception ex) { } catch (Exception ex) {

Loading…
Cancel
Save