From b1f759e2a08254ae3bd5d3da60c0744e187ddc78 Mon Sep 17 00:00:00 2001 From: march3 Date: Tue, 21 Mar 2023 14:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=AA=E9=98=B3=E7=B3=BB=E4=B8=89=E4=BD=93?= =?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 --- bodies/fixed_stars/fixed_star.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bodies/fixed_stars/fixed_star.py b/bodies/fixed_stars/fixed_star.py index 8bf63a6..46f9524 100644 --- a/bodies/fixed_stars/fixed_star.py +++ b/bodies/fixed_stars/fixed_star.py @@ -51,7 +51,7 @@ class FixedStar(Body): if texture_path is None: err_msg = "未找到纹理图片目录" raise Exception(err_msg) - save_file = os.path.join(texture_path, "%s.png" % str(self.__class__.__name__).lower()) + save_file = os.path.join(texture_path, "fixed_star_%s.png" % str(self.__class__.__name__).lower()) fixed_star_img = os.path.join(texture_path, texture) gen_fixed_star_texture(self.color, save_file=save_file, fixed_star_img=fixed_star_img) return save_file -- GitLab