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:
authorCampbell Barton <ideasman42@gmail.com>2017-10-02 16:53:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-02 16:56:45 +0300
commit64afba0244c28050c26466cfff3cfe31771a6a80 (patch)
tree07f5bc2bfa06188595ee6004b4f87bf89a4194be /source/blender/blenloader/intern/versioning_270.c
parent64c1a48c50f45baee8a42edcf15e960017875014 (diff)
Remove brush versioning (again!)
Causes crash, see c133927bb Merging soc-2017-vertex_paint brought this back by accident.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_270.c')
-rw-r--r--source/blender/blenloader/intern/versioning_270.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index b374e49fc83..d40dbd542dd 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -1653,23 +1653,6 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
}
}
- {
- Brush *br;
- br = (Brush *)BKE_libblock_find_name_ex(main, ID_BR, "Average");
- if (!br) {
- br = BKE_brush_add(main, "Average", OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT);
- br->vertexpaint_tool = PAINT_BLEND_AVERAGE;
- br->ob_mode = OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT;
- }
-
- br = (Brush *)BKE_libblock_find_name_ex(main, ID_BR, "Smear");
- if (!br) {
- br = BKE_brush_add(main, "Smear", OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT);
- br->vertexpaint_tool = PAINT_BLEND_SMEAR;
- br->ob_mode = OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT;
- }
- }
-
FOREACH_NODETREE(main, ntree, id) {
if (ntree->type == NTREE_COMPOSIT) {
do_versions_compositor_render_passes(ntree);