- fix issue with OgreXML that caused a lot of other issues in the SDK

experimental
Normen Hansen 10 years ago
parent 2cc601edc3
commit 2a0553dfbd
  1. 3
      sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreSceneDataObject.java
  2. 3
      sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLDataObject.java
  3. 4
      sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLSkeletonDataObject.java

@ -45,8 +45,7 @@ import org.openide.loaders.MultiFileLoader;
@MIMEResolver.NamespaceRegistration( @MIMEResolver.NamespaceRegistration(
displayName = "OgreXML Scene", displayName = "OgreXML Scene",
mimeType = "text/ogrescene+xml", mimeType = "text/ogrescene+xml",
elementNS = {"scene"}, elementName = "scene",
acceptedExtension = { "scene", "xml" },
checkedExtension = { "scene", "xml" } checkedExtension = { "scene", "xml" }
) )
@DataObject.Registration(displayName = "OgreXML Scene", mimeType = "text/ogrescene+xml", iconBase = "com/jme3/gde/ogrexml/ogre-scene.png") @DataObject.Registration(displayName = "OgreXML Scene", mimeType = "text/ogrescene+xml", iconBase = "com/jme3/gde/ogrexml/ogre-scene.png")

@ -54,8 +54,7 @@ import org.openide.util.Exceptions;
@MIMEResolver.NamespaceRegistration( @MIMEResolver.NamespaceRegistration(
displayName = "OgreXML File", displayName = "OgreXML File",
mimeType = "text/ogrexml+xml", mimeType = "text/ogrexml+xml",
elementNS = {"mesh"}, elementName = "mesh",
acceptedExtension = { "xml", "meshxml" },
checkedExtension = {"xml", "meshxml"} checkedExtension = {"xml", "meshxml"}
) )
@DataObject.Registration(displayName = "OgreXML File", mimeType = "text/ogrexml+xml", iconBase = "com/jme3/gde/ogrexml/ogre-logo.png") @DataObject.Registration(displayName = "OgreXML File", mimeType = "text/ogrexml+xml", iconBase = "com/jme3/gde/ogrexml/ogre-logo.png")

@ -42,8 +42,8 @@ import org.openide.loaders.MultiFileLoader;
@MIMEResolver.NamespaceRegistration( @MIMEResolver.NamespaceRegistration(
displayName = "OgreXML Skeleton", displayName = "OgreXML Skeleton",
mimeType = "text/ogrexmlskeleton+xml", mimeType = "text/ogrexmlskeleton+xml",
elementNS = {"skeleton"}, elementName = "skeleton",
acceptedExtension = {"xml", "skeleton"} checkedExtension = {"xml", "skeleton"}
) )
@DataObject.Registration(displayName = "OgreXML Skeleton", mimeType = "text/ogrexmlskeleton+xml", iconBase = "com/jme3/gde/ogrexml/ogre-logo.png") @DataObject.Registration(displayName = "OgreXML Skeleton", mimeType = "text/ogrexmlskeleton+xml", iconBase = "com/jme3/gde/ogrexml/ogre-logo.png")
public class OgreXMLSkeletonDataObject extends SpatialAssetDataObject { public class OgreXMLSkeletonDataObject extends SpatialAssetDataObject {

Loading…
Cancel
Save