Commit: 9c43fe305584377aa326f112dc48264524f8671a
Author: Kévin Dietrich
Date:   Tue Jun 21 13:56:27 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB9c43fe305584377aa326f112dc48264524f8671a

Don't set smooth flag on polys when reading non-smooth normals.

===================================================================

M       source/blender/alembic/intern/abc_mesh.cc

===================================================================

diff --git a/source/blender/alembic/intern/abc_mesh.cc 
b/source/blender/alembic/intern/abc_mesh.cc
index 6b9ca23..c193196 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -1091,8 +1091,6 @@ void read_mpolys(MPoly *mpolys, MLoop *mloops, MLoopUV 
*mloopuvs, CustomData *ld
                        loop.v = (*face_indices)[loop_index];
 
                        if (do_normals) {
-                               poly.flag |= ME_SMOOTH;
-
                                nor = (*normals)[loop_index];
                                copy_yup_zup(pnors[rev_loop_index], 
nor.getValue());
                        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to