Revision: 23245
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23245
Author:   campbellbarton
Date:     2009-09-15 12:59:42 +0200 (Tue, 15 Sep 2009)

Log Message:
-----------
didnt change all filename's to path's

Modified Paths:
--------------
    trunk/blender/release/io/export_ply.py

Modified: trunk/blender/release/io/export_ply.py
===================================================================
--- trunk/blender/release/io/export_ply.py      2009-09-15 10:52:36 UTC (rev 
23244)
+++ trunk/blender/release/io/export_ply.py      2009-09-15 10:59:42 UTC (rev 
23245)
@@ -256,10 +256,10 @@
        def execute(self, context):
                # print("Selected: " + context.active_object.name)
 
-               if not self.filename:
+               if not self.path:
                        raise Exception("filename not set")
                        
-               write(self.filename, context.scene, context.active_object,\
+               write(self.path, context.scene, context.active_object,\
                        EXPORT_APPLY_MODIFIERS = self.use_modifiers,
                        EXPORT_NORMALS = self.use_normals,
                        EXPORT_UV = self.use_uvs,
@@ -277,6 +277,6 @@
 bpy.ops.add(EXPORT_OT_ply)
 
 if __name__ == "__main__":
-       bpy.ops.EXPORT_OT_ply(filename="/tmp/test.ply")
+       bpy.ops.EXPORT_OT_ply(path="/tmp/test.ply")
 
 


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to