A complete 3D game development suite written purely in Java.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
* To change this template, choose Tools | Templates
|
|
|
|
* and open the template in the editor.
|
|
|
|
*/
|
|
|
|
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;
|
|
|
|
import org.openide.loaders.DataObjectExistsException;
|
|
|
|
import org.openide.loaders.MultiFileLoader;
|
|
|
|
|
|
|
|
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());
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|