Fix error in last commit

This commit is contained in:
2014-10-02 17:10:24 +02:00
parent 7901faf335
commit 6a8ff9ee4b

View File

@@ -394,7 +394,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main)
if (!DNA_struct_elem_find(fd->filesdna, "Image", "float", "gen_color")) {
Image *image;
for (image = main->image.first; image != NULL; image = image->id.next) {
image->gen_color[3] - 1.0f;
image->gen_color[3] = 1.0f;
}
}
}