From abaf8cf207d106cf80869ef2c185195669dd3369 Mon Sep 17 00:00:00 2001 From: march3 Date: Tue, 19 Dec 2023 17:17:06 +0800 Subject: [PATCH] =?UTF-8?q?Python=E8=B6=85=E4=BA=BA-=E5=AE=87=E5=AE=99?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sim_scenes/featured/look_at_sky_on_earth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sim_scenes/featured/look_at_sky_on_earth.py b/sim_scenes/featured/look_at_sky_on_earth.py index e163cee..030ea3d 100644 --- a/sim_scenes/featured/look_at_sky_on_earth.py +++ b/sim_scenes/featured/look_at_sky_on_earth.py @@ -205,7 +205,8 @@ class LookAtSkyOnEarth(UniverseSimScenes): # self.sun.planet.glow_circle.look_at(camera) create_foreground(f"armazonesdusk_{self.look_point + 2}.png") - self.create_sky_watchers() + if self.look_point is None: + self.create_sky_watchers() def on_timer_changed(self, time_data: TimeData): if abs(self.earth.planet.init_rotation_y - self.earth.planet.rotation_y) > 365: -- GitLab