1.修改部分图标无法显示

This commit is contained in:
陈横 2025-10-30 17:15:38 +08:00
parent ce580c180e
commit 1890ba8bc3

View File

@ -5,6 +5,9 @@ import sys
project_root = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, project_root)
# 设置工作目录为项目根目录
os.chdir(project_root)
# 添加 RenderPipeline 到路径(注意路径名称应与实际目录一致)
render_pipeline_path = os.path.join(project_root, "RenderPipeline")
sys.path.insert(0, render_pipeline_path)