Sun Position: fix error in HDRI mode when no env tex is selected
commit4fe82bba7e322aab71a354a2ab10c277d21ff512
authorDamien Picard <dam.pic@free.fr>
Thu, 13 Apr 2023 20:40:45 +0000 (13 22:40 +0200)
committerDamien Picard <dam.pic@free.fr>
Fri, 14 Apr 2023 02:19:42 +0000 (14 04:19 +0200)
tree839f0ccf8b15082115214dccf3a4c0d82989b56b
parentfc38a5fe2a60a80c321d6418090d6363958007bc
Sun Position: fix error in HDRI mode when no env tex is selected

The Sync Sun to Texture operator did not check that an environment
texture node was actuallly found in the World before trying to use it.
sun_position/hdr.py