Page Menu
Home
Search
Configure Global Search
Log In
Files
F21062
ply.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Dalai Felinto (dfelinto)
Nov 13 2013, 4:30 PM
Size
1 KB
Subscribers
None
ply.diff
View Options
Index: py/scripts/addons/io_mesh_ply/__init__.py
===================================================================
--- py/scripts/addons/io_mesh_ply/__init__.py (revision 3179)
+++ py/scripts/addons/io_mesh_ply/__init__.py (working copy)
@@ -96,7 +96,7 @@
)
use_normals = BoolProperty(
name="Normals",
- description="Export Normals for smooth and hard shaded faces",
+ description="Export Normals for smooth and hard shaded faces. Hard shaded faces will be exported as individual faces",
default=True,
)
use_uv_coords = BoolProperty(
@@ -106,7 +106,7 @@
)
use_colors = BoolProperty(
name="Vertex Colors",
- description="Exort the active vertex color layer",
+ description="Export the active vertex color layer",
default=True)
@classmethod
Index: py/scripts/addons/io_mesh_ply/export_ply.py
===================================================================
--- py/scripts/addons/io_mesh_ply/export_ply.py (revision 3179)
+++ py/scripts/addons/io_mesh_ply/export_ply.py (working copy)
@@ -106,7 +106,7 @@
vert_count = 0
for i, f in enumerate(mesh.tessfaces):
- smooth = f.use_smooth
+ smooth = not use_normals or f.use_smooth
if not smooth:
normal = tuple(f.normal)
normal_key = rvec3d(normal)
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
92/89/eebdc09ed5f69e0a70e6a63c38e8
Event Timeline
Log In to Comment