Fix T42054: Problem when using Cast modifier with Wireframe modifier.

Wireframe modifier needs valid normals, let's ensure that!
This commit is contained in:
Bastien Montagne 2014-10-03 11:58:29 +02:00
parent 502f6d538d
commit d4758badf6
Notes: blender-bot 2023-02-14 10:01:11 +01:00
Referenced by issue #42054, Problem when using Cast modifier with Wireframe modifier
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ static DerivedMesh *WireframeModifier_do( WireframeModifierData *wmd, Object *ob
const int defgrp_index = defgroup_name_index(ob, wmd->defgrp_name);
DM_ensure_normals(dm);
bm = DM_to_bmesh(dm, true);
BM_mesh_wireframe(