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>2020-05-15 10:53:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-15 10:53:03 +0300
commite60560bda03dd59fa91d9b36fa9dcea36cfdd8c0 (patch)
tree5d6d8dc7a70f179e0de77b7d1f54ef4dba2a266f /source/blender/blenloader/intern/versioning_280.c
parent559a8886d6283e4e34ea0e5b28ad3b2ceb560267 (diff)
Fix T76738: Duplicate brushes cause assertion on undo
Changes for 2.90 versioning.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index b6d53aee618..07551f3ea2b 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -5194,16 +5194,6 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
- /** Repair files from duplicate brushes added to blend files, see: T76738. */
- if (!MAIN_VERSION_ATLEAST(bmain, 283, 17) ||
- ((bmain->versionfile == 290) && !MAIN_VERSION_ATLEAST(bmain, 290, 2))) {
- short id_codes[] = {ID_BR, ID_PAL};
- for (int i = 0; i < ARRAY_SIZE(id_codes); i++) {
- ListBase *lb = which_libbase(bmain, id_codes[i]);
- BKE_main_id_repair_duplicate_names_listbase(lb);
- }
- }
-
/**
* Versioning code until next subversion bump goes here.
*