[Bf-blender-cvs] [0518577f5d3] blender2.8: Eevee: Fix Exponent default in versioning code

Clément Foucault noreply at git.blender.org
Wed Nov 1 01:08:41 CET 2017


Commit: 0518577f5d3ad974a75e124b900d4394834d924b
Author: Clément Foucault
Date:   Wed Nov 1 00:54:47 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB0518577f5d3ad974a75e124b900d4394834d924b

Eevee: Fix Exponent default in versioning code

===================================================================

M	source/blender/blenloader/intern/versioning_280.c

===================================================================

diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index da1562d3a64..2485309fb80 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -386,7 +386,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *main)
 	if (!MAIN_VERSION_ATLEAST(main, 280, 1)) {
 		if (!DNA_struct_elem_find(fd->filesdna, "Lamp", "float", "bleedexp")) {
 			for (Lamp *la = main->lamp.first; la; la = la->id.next) {
-				la->bleedexp = 120.0f;
+				la->bleedexp = 2.5f;
 			}
 		}



More information about the Bf-blender-cvs mailing list