[Bf-blender-cvs] [cd6cb55ff30] master: Fix Cycles incorrect versioning for automatic sample world resolution.

Brecht Van Lommel noreply at git.blender.org
Thu Jun 21 15:29:50 CEST 2018


Commit: cd6cb55ff3061f81b80069b586aa337a1c6d9d63
Author: Brecht Van Lommel
Date:   Thu Jun 21 15:25:29 2018 +0200
Branches: master
https://developer.blender.org/rBcd6cb55ff3061f81b80069b586aa337a1c6d9d63

Fix Cycles incorrect versioning for automatic sample world resolution.

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

M	intern/cycles/blender/addon/version_update.py

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

diff --git a/intern/cycles/blender/addon/version_update.py b/intern/cycles/blender/addon/version_update.py
index 922ea9d9d7f..f9f0b5fb59d 100644
--- a/intern/cycles/blender/addon/version_update.py
+++ b/intern/cycles/blender/addon/version_update.py
@@ -467,7 +467,7 @@ def do_versions(self):
             cworld = world.cycles
             # World MIS
             if not cworld.is_property_set("sampling_method"):
-                if cworld.get("sample_as_light", False):
+                if cworld.get("sample_as_light", True):
                     cworld.sampling_method = 'MANUAL'
                 else:
                     cworld.sampling_method = 'NONE'



More information about the Bf-blender-cvs mailing list