- 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(
displayName = "OgreXML Scene",
mimeType = "text/ogrescene+xml",
elementNS = {"scene"},
acceptedExtension = { "scene", "xml" },
elementName = "scene",
checkedExtension = { "scene", "xml" }
)
@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(
displayName = "OgreXML File",
mimeType = "text/ogrexml+xml",
elementNS = {"mesh"},
acceptedExtension = { "xml", "meshxml" },
elementName = "mesh",
checkedExtension = {"xml", "meshxml"}
)
@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(
displayName = "OgreXML Skeleton",
mimeType = "text/ogrexmlskeleton+xml",
elementNS = {"skeleton"},
acceptedExtension = {"xml", "skeleton"}
elementName = "skeleton",
checkedExtension = {"xml", "skeleton"}
)
@DataObject.Registration(displayName = "OgreXML Skeleton", mimeType = "text/ogrexmlskeleton+xml", iconBase = "com/jme3/gde/ogrexml/ogre-logo.png")
public class OgreXMLSkeletonDataObject extends SpatialAssetDataObject {

Loading…
Cancel
Save