diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-27 05:21:52 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-27 05:21:52 +0300 |
commit | 0c77490cb48ad2052fe1ca9d540c7a9fd82c2fa6 (patch) | |
tree | e5796e93cd26c1943a0b43235e50f98277a44ee4 /release/scripts/io/export_ply.py | |
parent | 904665f15b9a0bc165c6ee60f05f00d66c2ffc07 (diff) |
Missed these files in the last commit ..
Also meant to mention, on the todo: show the confirmation before closing the file selector,
rather than afterwards where it's inconvenient and easy to miss...
Diffstat (limited to 'release/scripts/io/export_ply.py')
-rw-r--r-- | release/scripts/io/export_ply.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/io/export_ply.py b/release/scripts/io/export_ply.py index 58f65e928cf..28b601510bd 100644 --- a/release/scripts/io/export_ply.py +++ b/release/scripts/io/export_ply.py @@ -275,11 +275,13 @@ class ExportPLY(bpy.types.Operator): path = StringProperty(name="File Path", description="File path used for exporting the PLY file", maxlen=1024, default="") + check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, hidden=True) use_modifiers = BoolProperty(name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default=True) use_normals = BoolProperty(name="Normals", description="Export Normals for smooth and hard shaded faces", default=True) use_uvs = BoolProperty(name="UVs", description="Exort the active UV layer", default=True) use_colors = BoolProperty(name="Vertex Colors", description="Exort the active vertex color layer", default=True) + def poll(self, context): return context.active_object != None |