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.AssetManager;
|
|
|
|
import com.jme3.gde.core.assets.AssetManagerConfigurator;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author normenhansen
|
|
|
|
*/
|
|
|
|
@org.openide.util.lookup.ServiceProvider(service = AssetManagerConfigurator.class)
|
|
|
|
public class BlenderAssetManagerConfigurator implements AssetManagerConfigurator {
|
|
|
|
|
|
|
|
public void prepareManager(AssetManager manager) {
|
|
|
|
manager.registerLoader(com.jme3.scene.plugins.blender.BlenderModelLoader.class, "blend");
|
|
|
|
manager.registerLoader(com.jme3.scene.plugins.blender.BlenderModelLoader.class, BlenderTool.TEMP_SUFFIX);
|
|
|
|
}
|
|
|
|
}
|