- make BlenderDataObject return correct asset key for properties inspection

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8084 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent 044e797da1
commit dc1f26d3de
  1. 8
      sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java

@ -4,6 +4,8 @@
*/
package com.jme3.gde.blender;
import com.jme3.asset.BlenderKey;
import com.jme3.asset.ModelKey;
import com.jme3.gde.core.assets.SpatialAssetDataObject;
import java.io.IOException;
import org.openide.filesystems.FileObject;
@ -15,4 +17,10 @@ public class BlenderDataObject extends SpatialAssetDataObject {
public BlenderDataObject(FileObject pf, MultiFileLoader loader) throws DataObjectExistsException, IOException {
super(pf, loader);
}
@Override
public ModelKey getAssetKey() {
return new BlenderKey(super.getAssetKey().getName());
}
}

Loading…
Cancel
Save