Cleanup: fix compiler warnings
This commit is contained in:
@@ -819,6 +819,7 @@ void BKE_brush_sculpt_reset(Brush *br)
|
||||
br->flag |= BRUSH_DIR_IN;
|
||||
br->curve_preset = BRUSH_CURVE_POW4;
|
||||
br->spacing = 5;
|
||||
break;
|
||||
case SCULPT_TOOL_CLAY:
|
||||
br->flag |= BRUSH_FRONTFACE;
|
||||
break;
|
||||
|
||||
@@ -458,7 +458,7 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
|
||||
}
|
||||
|
||||
/* Use the same tool icon color in the brush cursor */
|
||||
for (Brush *brush = bmain->brushes.first; brush; brush = brush->id.next) {
|
||||
for (brush = bmain->brushes.first; brush; brush = brush->id.next) {
|
||||
if (brush->sculpt_tool) {
|
||||
BKE_brush_sculpt_reset(brush);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user