Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenloader / intern / versioning_270.c
index 3ff51f5879e1a0e2242051b2886059964f5ffa61..8c414c31b81097894fb0d9ea6e30b0c823ddc896 100644 (file)
@@ -1703,24 +1703,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;
-                       }
-               }
-
        }
 }