Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-09-15 14:59:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-15 14:59:42 +0400
commit8513ab471c0b2ae1e84f9b14e932e080a7fdd32c (patch)
treef09f72022343642982b83e914ea495b45cdb9cd7 /release
parentdaa968df227438ea592fc0702f1e4727dfc9357d (diff)
didnt change all filename's to path's
Diffstat (limited to 'release')
-rw-r--r--release/io/export_ply.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/io/export_ply.py b/release/io/export_ply.py
index 7a3253b2d16..491ffe6b9df 100644
--- a/release/io/export_ply.py
+++ b/release/io/export_ply.py
@@ -256,10 +256,10 @@ class EXPORT_OT_ply(bpy.types.Operator):
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 @@ class EXPORT_OT_ply(bpy.types.Operator):
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")