From: Stefan Huber Date: Fri, 11 Feb 2011 15:25:31 +0000 (+0100) Subject: fix for blender 2.56 beta X-Git-Url: https://git.sthu.org/?p=io_import_off.git;a=commitdiff_plain;h=74b8217b2917015f579a2728f62cdd0827003b8b fix for blender 2.56 beta --- 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'}