An issue with DAZ scene which has directional lights

Issue #1688 resolved
Alex M. created an issue

There is a small error in light.py around line 99:
light.shadow_soft_size = height/2
The variable height got removed some time ago, so this line raises an exception in Blender. It should be replaced with something like this:
# based on the expression for height variable
light.shadow_soft_size = (inst.getValue(["Height"], 10) * LS.scale) / 2

Comments (2)

  1. Log in to comment