Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-10-03 13:58:29 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-03 17:09:31 +0400
commite7f5b6986729b2399dba81cb37592ab589be7560 (patch)
treeeff63166abfeb0d624e893083a0bdaf72513a730 /source
parent7fe316161170d874608d59e64ba5953176aef736 (diff)
Fix T42054: Problem when using Cast modifier with Wireframe modifier.
Wireframe modifier needs valid normals, let's ensure that!
Diffstat (limited to 'source')
-rw-r--r--source/blender/modifiers/intern/MOD_wireframe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_wireframe.c b/source/blender/modifiers/intern/MOD_wireframe.c
index 76986583ef5..108eee151bd 100644
--- a/source/blender/modifiers/intern/MOD_wireframe.c
+++ b/source/blender/modifiers/intern/MOD_wireframe.c
@@ -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(