From 3724233345142d5d302c88a48a2d258ae7edaa5a Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Tue, 9 Aug 2011 05:07:17 +0000
Subject: [PATCH] enable presets for x3d io

---
 io_scene_x3d/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/io_scene_x3d/__init__.py b/io_scene_x3d/__init__.py
index 15ad95195..6e97ce2ea 100644
--- a/io_scene_x3d/__init__.py
+++ b/io_scene_x3d/__init__.py
@@ -57,6 +57,7 @@ class ImportX3D(bpy.types.Operator, ImportHelper):
     '''Import and X3D or VRML file'''
     bl_idname = "import_scene.x3d"
     bl_label = "Import X3D/VRML"
+    bl_options = {'PRESET'}
 
     filename_ext = ".x3d"
     filter_glob = StringProperty(default="*.x3d;*.wrl", options={'HIDDEN'})
@@ -104,6 +105,7 @@ class ExportX3D(bpy.types.Operator, ExportHelper):
     '''Export selection to Extensible 3D file (.x3d)'''
     bl_idname = "export_scene.x3d"
     bl_label = 'Export X3D'
+    bl_options = {'PRESET'}
 
     filename_ext = ".x3d"
     filter_glob = StringProperty(default="*.x3d", options={'HIDDEN'})
-- 
GitLab