diff options
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index b570947739a..6062d971629 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -4428,7 +4428,6 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) } } - /* Brush cursor alpha */ for (Brush *br = bmain->brushes.first; br; br = br->id.next) { br->add_col[3] = 0.9f; br->sub_col[3] = 0.9f; @@ -4447,5 +4446,14 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) br->flag2 |= BRUSH_POSE_IK_ANCHORED; } } + + /* Tip Roundness. */ + if (!DNA_struct_elem_find(fd->filesdna, "Brush", "float", "tip_roundness")) { + for (Brush *br = bmain->brushes.first; br; br = br->id.next) { + if (br->ob_mode & OB_MODE_SCULPT && br->sculpt_tool == SCULPT_TOOL_CLAY_STRIPS) { + br->tip_roundness = 0.18f; + } + } + } } } |