diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-02 19:10:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-02 19:10:24 +0400 |
commit | 6a8ff9ee4b90370eecfcfe60cb9080b74ab00402 (patch) | |
tree | 6fdb635ddfc24cceb6a350306153615539a45a9f /source/blender/blenloader | |
parent | 7901faf3356670cc9ab2770b8b6184b19756fc59 (diff) |
Fix error in last commit
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index 4fd033ca516..22868035a13 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -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; } } } |