Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_defaults.c
| Show First 20 Lines • Show All 462 Lines • ▼ Show 20 Lines | /* Brushes */ | ||||
| if (brush) { | if (brush) { | ||||
| brush->ob_mode |= OB_MODE_EDIT; | brush->ob_mode |= OB_MODE_EDIT; | ||||
| } | } | ||||
| } | } | ||||
| for (Brush *brush = bmain->brushes.first; brush; brush = brush->id.next) { | for (Brush *brush = bmain->brushes.first; brush; brush = brush->id.next) { | ||||
| brush->blur_kernel_radius = 2; | brush->blur_kernel_radius = 2; | ||||
| } | } | ||||
| { | |||||
| /* Change the spacing of the Smear brush to 3.0% */ | |||||
| Brush *brush = BLI_findstring(&bmain->brushes, "Smear", offsetof(ID, name) + 2); | |||||
| if (brush) { | |||||
| brush->spacing = 3.0; | |||||
| } | |||||
| } | |||||
| } | } | ||||