提交 b1f759e2 编写于 作者: 三月三net's avatar 三月三net

太阳系三体模拟器

上级 c749a8e6
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册