From fc4f2571ba29e8f29e7f1d8a915f3a9e38229a28 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Thu, 14 May 2020 15:57:21 +0200 Subject: GPencil: Remove creation of Tint brush in versioning code This is not required. --- source/blender/blenloader/intern/versioning_280.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 91c07d810b7..62e3a196b08 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -4786,15 +4786,6 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain) brush->gpencil_weight_tool = brush->gpencil_settings->brush_type; } } - /* Tint brush. */ - Brush *brush = BLI_findstring(&bmain->brushes, "Tint", offsetof(ID, name) + 2); - if (brush == NULL) { - brush = BKE_brush_add(bmain, "Tint", OB_MODE_PAINT_GPENCIL); - BKE_brush_init_gpencil_settings(brush); - } - BKE_gpencil_brush_preset_set(bmain, brush, GP_BRUSH_PRESET_TINT); - - BKE_paint_toolslots_init_from_main(bmain); } LISTBASE_FOREACH (Material *, mat, &bmain->materials) { -- cgit v1.2.3