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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/modules/io_utils.py')
-rw-r--r--release/scripts/modules/io_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/io_utils.py b/release/scripts/modules/io_utils.py
index eb9b2eaa90b..39b38669188 100644
--- a/release/scripts/modules/io_utils.py
+++ b/release/scripts/modules/io_utils.py
@@ -37,7 +37,7 @@ class ExportHelper:
self.filepath = blend_filepath + self.filename_ext
- context.window_manager.add_fileselect(self)
+ context.window_manager.fileselect_add(self)
return {'RUNNING_MODAL'}
def check(self, context):
@@ -53,7 +53,7 @@ class ImportHelper:
filepath = StringProperty(name="File Path", description="Filepath used for importing the file", maxlen=1024, default="", subtype='FILE_PATH')
def invoke(self, context, event):
- context.window_manager.add_fileselect(self)
+ context.window_manager.fileselect_add(self)
return {'RUNNING_MODAL'}