Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 68f0abe9b3e..2d1c57b1495 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -4811,5 +4811,13 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
}
+
+ /* Boundary Edges Automasking. */
+ if (!DNA_struct_elem_find(
+ fd->filesdna, "Brush", "int", "automasking_boundary_edges_propagation_steps")) {
+ for (Brush *br = bmain->brushes.first; br; br = br->id.next) {
+ br->automasking_boundary_edges_propagation_steps = 1;
+ }
+ }
}
}