diff options
author | Damien Picard <dam.pic@free.fr> | 2019-12-12 18:29:19 +0300 |
---|---|---|
committer | Damien Picard <dam.pic@free.fr> | 2019-12-13 13:32:18 +0300 |
commit | 2c10504944c3ce3973404252ba9a1bdb45082daf (patch) | |
tree | 13d8fdf7c96abdea0d73d293d6c6770bf529fe2a /sun_position/sun_calc.py | |
parent | dbc441d58a337cd9e3d587563bd55670edcbcd1d (diff) |
sun_position: rename Ecliptic to Diurnal
The name "Ecliptic" for the Sun trajectory visualization was wrong. I
renamed it to "Diurnal" because it actually visualizes the apparent
trajectory of the Sun in one single day.
Diffstat (limited to 'sun_position/sun_calc.py')
-rw-r--r-- | sun_position/sun_calc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sun_position/sun_calc.py b/sun_position/sun_calc.py index 5631ac0b..78e9ff85 100644 --- a/sun_position/sun_calc.py +++ b/sun_position/sun_calc.py @@ -178,8 +178,8 @@ def move_sun(context): and sun_props.object_collection): sun_objects = sun_props.object_collection.objects object_count = len(sun_objects) - if sun_props.object_collection_type == 'ECLIPTIC': - # Ecliptic + if sun_props.object_collection_type == 'DIURNAL': + # Diurnal motion if object_count > 1: time_increment = sun_props.time_spread / (object_count - 1) local_time = local_time + time_increment * (object_count - 1) |