Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Picard <dam.pic@free.fr>2019-12-12 18:29:19 +0300
committerDamien Picard <dam.pic@free.fr>2019-12-13 13:32:18 +0300
commit2c10504944c3ce3973404252ba9a1bdb45082daf (patch)
tree13d8fdf7c96abdea0d73d293d6c6770bf529fe2a /sun_position/sun_calc.py
parentdbc441d58a337cd9e3d587563bd55670edcbcd1d (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.py4
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)