Fix Cycles incorrect versioning for automatic sample world resolution.
This commit is contained in:
parent
a4f08297ed
commit
cd6cb55ff3
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue