diff --git a/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreSceneDataObject.java b/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreSceneDataObject.java index 254bf3cf7..a442fd07c 100644 --- a/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreSceneDataObject.java +++ b/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreSceneDataObject.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") diff --git a/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLDataObject.java b/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLDataObject.java index 4e44e7620..08285937f 100644 --- a/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLDataObject.java +++ b/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLDataObject.java @@ -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") diff --git a/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLSkeletonDataObject.java b/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLSkeletonDataObject.java index 24d66491d..a3e8c2aed 100644 --- a/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLSkeletonDataObject.java +++ b/sdk/jme3-ogrexml/src/com/jme3/gde/ogrexml/OgreXMLSkeletonDataObject.java @@ -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 {