diff --git a/bodies/fixed_stars/fixed_star.py b/bodies/fixed_stars/fixed_star.py index 8bf63a61623fce7b6254e0c6a5759e74ea0bda8e..46f952482be0b6ed13c1d7b158b066855f0c9bc2 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