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:
authorAntonio Vazquez <blendergit@gmail.com>2020-05-14 16:57:21 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-14 16:57:43 +0300
commitfc4f2571ba29e8f29e7f1d8a915f3a9e38229a28 (patch)
treeaaaa47e5c3a60f222cddd762129252bfc4c8fa61 /source/blender
parenta260d1cd69bca84b46e995910181615c7d096dee (diff)
GPencil: Remove creation of Tint brush in versioning code
This is not required.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c9
1 files changed, 0 insertions, 9 deletions
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) {