[Bf-blender-cvs] [bd777ff] master: Follow up to previous commit, do not calculate normal now with front facing.

Antony Riakiotakis noreply at git.blender.org
Fri Jun 27 00:55:38 CEST 2014


Commit: bd777ffd3b38d6a940164e55bb7493bfbad39837
Author: Antony Riakiotakis
Date:   Fri Jun 27 01:55:30 2014 +0300
https://developer.blender.org/rBbd777ffd3b38d6a940164e55bb7493bfbad39837

Follow up to previous commit, do not calculate normal now with front
facing.

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

M	source/blender/editors/sculpt_paint/sculpt.c

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 735238a..12223ef 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1234,8 +1234,7 @@ static int brush_needs_sculpt_normal(const Brush *brush)
 	return ((ELEM(brush->sculpt_tool,
 	              SCULPT_TOOL_GRAB,
 	              SCULPT_TOOL_SNAKE_HOOK) &&
-	         ((brush->normal_weight > 0) ||
-	          (brush->flag & BRUSH_FRONTFACE))) ||
+	         (brush->normal_weight > 0)) ||
 
 	        ELEM7(brush->sculpt_tool,
 	              SCULPT_TOOL_BLOB,




More information about the Bf-blender-cvs mailing list