]> git.sthu.org Git - io_import_off.git/commitdiff
fix for blender 2.56 beta
authorStefan Huber <shuber2@gmail.com>
Fri, 11 Feb 2011 15:25:31 +0000 (16:25 +0100)
committerStefan Huber <shuber2@gmail.com>
Fri, 11 Feb 2011 15:25:31 +0000 (16:25 +0100)
io_import_off.py

index a1ab4b5b54d59954d0935fed779e2801fbe64300..1ca085404af444310c4a0e0d93fee93e43aabf30 100644 (file)
@@ -209,7 +209,7 @@ http://shape.cs.princeton.edu/benchmark/documentation/off_format.html'''
 \r
        def invoke(self, context, event):\r
                wm = bpy.context.window_manager\r
-               wm.add_fileselect(self)\r
+               wm.fileselect_add(self)\r
 \r
                return {'RUNNING_MODAL'}\r
 \r