Skip to content
Snippets Groups Projects
Commit 37242333 authored by Campbell Barton's avatar Campbell Barton
Browse files

enable presets for x3d io

parent 8dee0ddd
No related branches found
No related tags found
No related merge requests found
......@@ -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'})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment