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>2014-10-02 19:10:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-02 19:10:24 +0400
commit6a8ff9ee4b90370eecfcfe60cb9080b74ab00402 (patch)
tree6fdb635ddfc24cceb6a350306153615539a45a9f
parent7901faf3356670cc9ab2770b8b6184b19756fc59 (diff)
Fix error in last commit
-rw-r--r--source/blender/blenloader/intern/versioning_270.c2
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;
}
}
}