[Bf-blender-cvs] [b01cbed] master: error in last commit, missing normal update.

Campbell Barton noreply at git.blender.org
Sat Dec 21 21:20:19 CET 2013


Commit: b01cbede045b8b34a6fa36bc77d83779606931d8
Author: Campbell Barton
Date:   Sun Dec 22 07:19:48 2013 +1100
http://developer.blender.org/rBb01cbede045b8b34a6fa36bc77d83779606931d8

error in last commit, missing normal update.

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

M	source/blender/modifiers/intern/MOD_wireframe.c

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

diff --git a/source/blender/modifiers/intern/MOD_wireframe.c b/source/blender/modifiers/intern/MOD_wireframe.c
index bcef193..af228ca 100644
--- a/source/blender/modifiers/intern/MOD_wireframe.c
+++ b/source/blender/modifiers/intern/MOD_wireframe.c
@@ -102,6 +102,8 @@ static DerivedMesh* WireframeModifier_do( WireframeModifierData *wmd, Object *ob
 	result = CDDM_from_bmesh(bm, true);
 	BM_mesh_free(bm);
 
+	result->dirty |= DM_DIRTY_NORMALS;
+
 	return result;
 
 }




More information about the Bf-blender-cvs mailing list