AdobeDocs / AdobeDocs/painter-python-api

Issue in /src/pages/guides/creating-python-plugin.md

未关闭
#14 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
2
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

I was going over the "Creating a Python plugin" tutorial, and had issues running the custom_import.py plugin code. It seems that PySide 2 is not supported in the most recent version of Substance Painter.

Is the following more appropriate? While I still had errors after making this change, at least it loaded the plugin.

from PySide6 import QtWidgets
from PySide6.QtGui import QAction

贡献指南

打开贡献指南

调研方向

从 src/pages/guides/creating-python-plugin.md 开始,结合报告中的 PySide2 和 PySide6 imports 检查 custom_import.py 示例。确认当前 Substance Painter 版本支持哪种 import 形式,然后更新教程,使示例能够在不出现报告中的 import 问题的情况下加载。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。