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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-27 17:54:22 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-27 17:54:22 +0300
commit17777e7cd195318c36a1172647557447330dd3a4 (patch)
treeaec145ff862753063e61f8db016da5f31e283324 /release/scripts/io/export_ply.py
parent6188a28e756aa998c2358fe94c649d3b23542af0 (diff)
Fix #21561: .ply exporter doesn't export normals.
Diffstat (limited to 'release/scripts/io/export_ply.py')
-rw-r--r--release/scripts/io/export_ply.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/release/scripts/io/export_ply.py b/release/scripts/io/export_ply.py
index 92d4f2ff914..f3c6541f476 100644
--- a/release/scripts/io/export_ply.py
+++ b/release/scripts/io/export_ply.py
@@ -210,13 +210,10 @@ def write(filename, scene, ob, \
file.write('property float y\n')
file.write('property float z\n')
- # XXX
- """
if EXPORT_NORMALS:
file.write('property float nx\n')
file.write('property float ny\n')
file.write('property float nz\n')
- """
if EXPORT_UV:
file.write('property float s\n')
file.write('property float t\n')
@@ -231,10 +228,8 @@ def write(filename, scene, ob, \
for i, v in enumerate(ply_verts):
file.write('%.6f %.6f %.6f ' % tuple(mesh_verts[v[0]].co)) # co
- """
if EXPORT_NORMALS:
file.write('%.6f %.6f %.6f ' % v[1]) # no
- """
if EXPORT_UV:
file.write('%.6f %.6f ' % v[2]) # uv
if EXPORT_COLORS: