diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py index 851a6b7b9deaeea9948df20e3679911496d8162b..b940e9341ab1d0a854c3b1422f2b073c0079f568 100644 --- a/io_mesh_ply/__init__.py +++ b/io_mesh_ply/__init__.py @@ -96,7 +96,7 @@ class ExportPLY(bpy.types.Operator, ExportHelper): ) 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 @@ class ExportPLY(bpy.types.Operator, ExportHelper): ) use_colors = BoolProperty( name="Vertex Colors", - description="Exort the active vertex color layer", + description="Export the active vertex color layer", default=True) @classmethod diff --git a/io_mesh_ply/export_ply.py b/io_mesh_ply/export_ply.py index 995bd0f5ac5912438140c1eabd7fe706e1ecfb4b..cb981a131b09a1909419cfd48a87017c3b6cbd7b 100644 --- a/io_mesh_ply/export_ply.py +++ b/io_mesh_ply/export_ply.py @@ -106,7 +106,7 @@ def save(operator, 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)