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_mesh_stl/__init__.py')
-rw-r--r--io_mesh_stl/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index 3c2669d9..96e8fc32 100644
--- a/io_mesh_stl/__init__.py
+++ b/io_mesh_stl/__init__.py
@@ -91,7 +91,7 @@ class StlImporter(bpy.types.Operator):
return {'FINISHED'}
def invoke(self, context, event):
- wm = context.manager
+ wm = context.window_manager
wm.add_fileselect(self)
return {'RUNNING_MODAL'}
@@ -133,7 +133,7 @@ class StlExporter(bpy.types.Operator):
return {'FINISHED'}
def invoke(self, context, event):
- wm = context.manager
+ wm = context.window_manager
wm.add_fileselect(self)
return {'RUNNING_MODAL'}