diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-07-07 11:52:50 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-07-07 11:53:30 +0400 |
commit | 7481d2aad1fb1355b91f2759d59546872fb1b9ad (patch) | |
tree | b0b6f402c44a290fe12cdb99f3b5fd8cf2033394 /source/blender/blenloader | |
parent | f4cf84507b4653c317f7df581f600175566cabcf (diff) |
Follow-up to my last commit: Fixed a wrong property name in the versioning code.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } } - } } |