diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-02-16 13:00:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-02-16 13:00:17 +0300 |
commit | 6468cb5f9c905b6a613707ce3f733236afa61fab (patch) | |
tree | f4c963226bd77e004703747780f2db36626d8b27 /intern/cycles/blender | |
parent | 5cbaf56b269ff04d086a07af9906cc44ecd4cfe5 (diff) |
Faces split: Don't leave CD_NORMAL after split
This is supposed to be a temporary layer.
If someone needs loop normals after split it should explicitly
ask for that.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/blender_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_util.h b/intern/cycles/blender/blender_util.h index 8120de96362..4411181dbcc 100644 --- a/intern/cycles/blender/blender_util.h +++ b/intern/cycles/blender/blender_util.h @@ -80,6 +80,7 @@ static inline BL::Mesh object_to_mesh(BL::BlendData& data, } else { me.split_faces(); + me.calc_normals_split(); } } if(subdivision_type == Mesh::SUBDIVISION_NONE) { |