X-Git-Url: https://git.sthu.org/?p=io_import_off.git;a=blobdiff_plain;f=io_import_off.py;h=1ca085404af444310c4a0e0d93fee93e43aabf30;hp=a1ab4b5b54d59954d0935fed779e2801fbe64300;hb=74b8217b2917015f579a2728f62cdd0827003b8b;hpb=d3d1914005937897d92232bbe0cf237de11dd840 diff --git a/io_import_off.py b/io_import_off.py index a1ab4b5..1ca0854 100644 --- a/io_import_off.py +++ b/io_import_off.py @@ -209,7 +209,7 @@ http://shape.cs.princeton.edu/benchmark/documentation/off_format.html''' def invoke(self, context, event): wm = bpy.context.window_manager - wm.add_fileselect(self) + wm.fileselect_add(self) return {'RUNNING_MODAL'}