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'

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to