Fix T64796: Default Spacing Smear Brush To 3%
Reviewers: brecht Differential Revision: https://developer.blender.org/D5129
This commit is contained in:
parent
94af455e37
commit
a55aa1a2ca
Notes:
blender-bot
2023-02-14 11:34:30 +01:00
Referenced by issue #64796, Texture Paint Smear Brush Setting needs a change
|
@ -468,4 +468,12 @@ void BLO_update_defaults_startup_blend(Main *bmain, const char *app_template)
|
|||
for (Brush *brush = bmain->brushes.first; brush; brush = brush->id.next) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue