diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-09 09:07:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-09 09:07:17 +0400 |
commit | 3724233345142d5d302c88a48a2d258ae7edaa5a (patch) | |
tree | 6ae574b68f964336eb5382e610576433cc8a4ae8 | |
parent | 8dee0ddd000c88e4dc6ece10286ba4b9bfde470f (diff) |
enable presets for x3d io
-rw-r--r-- | io_scene_x3d/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_scene_x3d/__init__.py b/io_scene_x3d/__init__.py index 15ad9519..6e97ce2e 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'}) |