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>2015-04-30 18:49:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-30 18:49:58 +0300
commit4d6584ba6a22d4c06cb5e5ecce38dded1247da3f (patch)
tree91ee28e7f2521d87941dba61e87aedc171b80d0e /source/blender/blenloader
parent5ced6cb2bc52a50365e4bc4003994c39cdcb895f (diff)
UI: use enum for thumbnail size
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_270.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c
index 2343ba06e75..4daf93916c9 100644
--- a/source/blender/blenloader/intern/versioning_270.c
+++ b/source/blender/blenloader/intern/versioning_270.c
@@ -803,7 +803,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
if (!MAIN_VERSION_ATLEAST(main, 274, 6)) {
bScreen *screen;
- if (!DNA_struct_elem_find(fd->filesdna, "FileSelectParams", "int", "thumbnails_size")) {
+ if (!DNA_struct_elem_find(fd->filesdna, "FileSelectParams", "int", "thumbnail_size")) {
for (screen = main->screen.first; screen; screen = screen->id.next) {
ScrArea *sa;
@@ -815,7 +815,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
SpaceFile *sfile = (SpaceFile *)sl;
if (sfile->params) {
- sfile->params->thumbnails_size = 128;
+ sfile->params->thumbnail_size = 128;
}
}
}