FBX: use new loader by default

cleanup_build_scripts
Kirill Vainer 9 years ago
parent 78b635726a
commit 3f5cc4963e
  1. 3
      jme3-core/src/main/resources/com/jme3/asset/General.cfg
  2. 6
      jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/obj/FbxObjectFactory.java

@ -22,5 +22,4 @@ LOADER com.jme3.scene.plugins.ogre.MaterialLoader : material
LOADER com.jme3.scene.plugins.ogre.SceneLoader : scene LOADER com.jme3.scene.plugins.ogre.SceneLoader : scene
LOADER com.jme3.scene.plugins.blender.BlenderModelLoader : blend LOADER com.jme3.scene.plugins.blender.BlenderModelLoader : blend
LOADER com.jme3.shader.plugins.GLSLLoader : vert, frag, geom, tsctrl, tseval, glsl, glsllib LOADER com.jme3.shader.plugins.GLSLLoader : vert, frag, geom, tsctrl, tseval, glsl, glsllib
LOADER com.jme3.scene.plugins.fbx.SceneLoader : fbx LOADER com.jme3.scene.plugins.fbx.FbxLoader : fbx
LOADER com.jme3.scene.plugins.fbx.SceneWithAnimationLoader : fba

@ -74,6 +74,12 @@ public final class FbxObjectFactory {
subclassName.equals("FKEffector")) { subclassName.equals("FKEffector")) {
// jME3 does not support IK. // jME3 does not support IK.
return FbxNullAttribute.class; return FbxNullAttribute.class;
} else if (subclassName.equals("Light")) {
// TODO: support lights
return FbxNullAttribute.class;
} else if (subclassName.equals("Camera")) {
// TODO: support cameras
return FbxNullAttribute.class;
} else { } else {
// NodeAttribute - Unknown // NodeAttribute - Unknown
logger.log(Level.WARNING, "Unknown object subclass: {0}. Ignoring.", subclassName); logger.log(Level.WARNING, "Unknown object subclass: {0}. Ignoring.", subclassName);

Loading…
Cancel
Save