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:
authorJeroen Bakker <j.bakker@atmind.nl>2018-06-05 13:20:02 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-06-05 13:21:41 +0300
commit0d47a4d2feb43c686de2534b3bd0855bb315acc7 (patch)
treec3126997bf00e5b956e486f7aa8ba37ea558da4f
parentdf1d319a79f189fec9df881166b7a8dfb43b209e (diff)
T55291: Matcaps were reset when loading file
-rw-r--r--source/blender/blenloader/intern/versioning_280.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 7827e793049..f73df9ab844 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -1537,7 +1537,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *main)
}
}
}
- if (!DNA_struct_elem_find(fd->filesdna, "View3DShading", "char", "matcap")) {
+ if (!DNA_struct_elem_find(fd->filesdna, "View3DShading", "char", "matcap[256]")) {
StudioLight *default_matcap = BKE_studiolight_find_first(STUDIOLIGHT_ORIENTATION_VIEWNORMAL);
/* when loading the internal file is loaded before the matcaps */
if (default_matcap) {