Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-08-09 09:07:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-08-09 09:07:17 +0400
commit3724233345142d5d302c88a48a2d258ae7edaa5a (patch)
tree6ae574b68f964336eb5382e610576433cc8a4ae8 /io_scene_x3d/__init__.py
parent8dee0ddd000c88e4dc6ece10286ba4b9bfde470f (diff)
enable presets for x3d io
Diffstat (limited to 'io_scene_x3d/__init__.py')
-rw-r--r--io_scene_x3d/__init__.py2
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'})