diff --git a/src/__init__.py b/io_scene_ase/__init__.py similarity index 100% rename from src/__init__.py rename to io_scene_ase/__init__.py diff --git a/src/ase.py b/io_scene_ase/ase.py similarity index 100% rename from src/ase.py rename to io_scene_ase/ase.py diff --git a/src/builder.py b/io_scene_ase/builder.py similarity index 100% rename from src/builder.py rename to io_scene_ase/builder.py diff --git a/src/exporter.py b/io_scene_ase/exporter.py similarity index 88% rename from src/exporter.py rename to io_scene_ase/exporter.py index be85dee..2ce5396 100644 --- a/src/exporter.py +++ b/io_scene_ase/exporter.py @@ -1,11 +1,11 @@ -import bpy -import bpy_extras -from bpy.props import StringProperty, FloatProperty, EnumProperty, BoolProperty +from bpy_extras.io_utils import ExportHelper +from bpy.props import StringProperty, EnumProperty, BoolProperty +from bpy.types import Operator from .builder import * from .writer import * -class ASE_OT_ExportOperator(bpy.types.Operator, bpy_extras.io_utils.ExportHelper): +class ASE_OT_ExportOperator(Operator, ExportHelper): bl_idname = 'io_scene_ase.ase_export' # important since its how bpy.ops.import_test.some_data is constructed bl_label = 'Export ASE' bl_space_type = 'PROPERTIES' diff --git a/src/writer.py b/io_scene_ase/writer.py similarity index 100% rename from src/writer.py rename to io_scene_ase/writer.py