From 7481d2aad1fb1355b91f2759d59546872fb1b9ad Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Mon, 7 Jul 2014 16:52:50 +0900 Subject: Follow-up to my last commit: Fixed a wrong property name in the versioning code. --- source/blender/blenloader/intern/versioning_270.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/blenloader/intern') diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 7fa9b4eeee0..50e7c83447b 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -300,7 +300,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) } if (!MAIN_VERSION_ATLEAST(main, 271, 1)) { - if (!DNA_struct_elem_find(fd->filesdna, "Material", "float", "line[4]")) { + if (!DNA_struct_elem_find(fd->filesdna, "Material", "float", "line_col[4]")) { Material *mat; for (mat = main->mat.first; mat; mat = mat->id.next) { @@ -308,6 +308,5 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) mat->line_col[3] = mat->alpha; } } - } } -- cgit v1.2.3