Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/brush.c
| Show First 20 Lines • Show All 1,478 Lines • ▼ Show 20 Lines | switch (br->sculpt_tool) { | ||||
| case SCULPT_TOOL_DRAW_SHARP: | case SCULPT_TOOL_DRAW_SHARP: | ||||
| br->flag |= BRUSH_DIR_IN; | br->flag |= BRUSH_DIR_IN; | ||||
| br->curve_preset = BRUSH_CURVE_POW4; | br->curve_preset = BRUSH_CURVE_POW4; | ||||
| br->spacing = 5; | br->spacing = 5; | ||||
| break; | break; | ||||
| case SCULPT_TOOL_SLIDE_RELAX: | case SCULPT_TOOL_SLIDE_RELAX: | ||||
| br->spacing = 10; | br->spacing = 10; | ||||
| br->alpha = 1.0f; | br->alpha = 1.0f; | ||||
| br->slide_deform_type = BRUSH_SLIDE_DEFORM_DRAG; | |||||
| break; | break; | ||||
| case SCULPT_TOOL_CLAY: | case SCULPT_TOOL_CLAY: | ||||
| br->flag |= BRUSH_SIZE_PRESSURE; | br->flag |= BRUSH_SIZE_PRESSURE; | ||||
| br->spacing = 3; | br->spacing = 3; | ||||
| br->autosmooth_factor = 0.25f; | br->autosmooth_factor = 0.25f; | ||||
| br->normal_radius_factor = 0.75f; | br->normal_radius_factor = 0.75f; | ||||
| br->hardness = 0.65f; | br->hardness = 0.65f; | ||||
| break; | break; | ||||
| ▲ Show 20 Lines • Show All 810 Lines • Show Last 20 Lines | |||||