diff --git a/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java b/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java index e88f43a94..55739bae3 100644 --- a/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java +++ b/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()); + } + }