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

facing.
This commit is contained in:
Antonis Ryakiotakis 2014-06-27 01:55:30 +03:00
parent dbc04c594b
commit bd777ffd3b
Notes: blender-bot 2023-02-14 10:31:52 +01:00
Referenced by issue #40923, LibLoad & LibFree crash with endObject
Referenced by issue #40924, LibNew & LibFree material bug
Referenced by issue #40864, Cycles; use of color ramp node in latest builds will always crash after save and reload.
Referenced by issue #40846, LibNew/LibLoad/LibFree bugs
Referenced by issue #40581, Wrong texture mapping in render preview
Referenced by issue #40525, Blender Crash/Freeze On Animation Plays
1 changed files with 1 additions and 2 deletions

View File

@ -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,