SDK : re-added the cache delete when loading an asset since it has been fixed in the engine

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7920 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 14 years ago
parent 2b8ad73f7e
commit 0b5cc9fb43
  1. 2
      sdk/jme3-core/src/com/jme3/gde/core/assets/SpatialAssetDataObject.java

@ -77,7 +77,7 @@ public class SpatialAssetDataObject extends AssetDataObject {
FileLock lock = null;
try {
lock = getPrimaryFile().lock();
//mgr.deleteFromCache(new ModelKey(assetKey));
mgr.deleteFromCache(new ModelKey(assetKey));
Spatial spatial = mgr.loadModel(assetKey);
savable = spatial;
lock.releaseLock();

Loading…
Cancel
Save