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:
Diffstat (limited to 'io_scene_m3/import_m3.py')
-rw-r--r--io_scene_m3/import_m3.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/io_scene_m3/import_m3.py b/io_scene_m3/import_m3.py
index a6f48cd4..b50562ef 100644
--- a/io_scene_m3/import_m3.py
+++ b/io_scene_m3/import_m3.py
@@ -347,10 +347,8 @@ class M3Importer(bpy.types.Operator):
# to the class instance from the operator settings before calling.
filepath = StringProperty(
- name="File Path",\
- description="Filepath used for importing the M3 file",\
- maxlen=1024,\
- default="")
+ subtype='FILE_PATH',
+ )
def execute(self, context):
t = time.mktime(datetime.datetime.now().timetuple())