mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Chore: Substance Painter Addons for Ayon (#5914)
* Substance Painter Addons for Ayon * hound * make sure the class name is SubstancePainterAddon * use AYON as tab menu name when it is launched with AYON --------- Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
8348fe954e
commit
07d00ee787
10 changed files with 164 additions and 2 deletions
|
|
@ -940,6 +940,23 @@ def _convert_photoshop_project_settings(ayon_settings, output):
|
|||
output["photoshop"] = ayon_photoshop
|
||||
|
||||
|
||||
def _convert_substancepainter_project_settings(ayon_settings, output):
|
||||
if "substancepainter" not in ayon_settings:
|
||||
return
|
||||
|
||||
ayon_substance_painter = ayon_settings["substancepainter"]
|
||||
_convert_host_imageio(ayon_substance_painter)
|
||||
if "shelves" in ayon_substance_painter:
|
||||
shelves_items = ayon_substance_painter["shelves"]
|
||||
new_shelves_items = {
|
||||
item["name"]: item["value"]
|
||||
for item in shelves_items
|
||||
}
|
||||
ayon_substance_painter["shelves"] = new_shelves_items
|
||||
|
||||
output["substancepainter"] = ayon_substance_painter
|
||||
|
||||
|
||||
def _convert_tvpaint_project_settings(ayon_settings, output):
|
||||
if "tvpaint" not in ayon_settings:
|
||||
return
|
||||
|
|
@ -1398,6 +1415,7 @@ def convert_project_settings(ayon_settings, default_settings):
|
|||
_convert_nuke_project_settings(ayon_settings, output)
|
||||
_convert_hiero_project_settings(ayon_settings, output)
|
||||
_convert_photoshop_project_settings(ayon_settings, output)
|
||||
_convert_substancepainter_project_settings(ayon_settings, output)
|
||||
_convert_tvpaint_project_settings(ayon_settings, output)
|
||||
_convert_traypublisher_project_settings(ayon_settings, output)
|
||||
_convert_webpublisher_project_settings(ayon_settings, output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue