Sun Position: Fix crash when Blender was started in background
commit89f259bac2b2cd0aeb0c1464a7f39852e6adee48
authorDamien Picard <dam.pic@free.fr>
Mon, 22 May 2023 15:54:18 +0000 (22 17:54 +0200)
committerDamien Picard <dam.pic@free.fr>
Mon, 22 May 2023 15:54:18 +0000 (22 17:54 +0200)
tree80438120d5f19efabde871712808563cffeda456
parentd369562c4779261836aa159cdcec357c5fa0c332
Sun Position: Fix crash when Blender was started in background

A recent commit changed the shaders used, and tried to use the gpu
API, which is unavailable in background mode.
sun_position/__init__.py
sun_position/draw.py
sun_position/hdr.py