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 摘要。