Wrap: new integration (#5823)

* Added Wrap to applications

* Added icon

* Added wrap to template pre hooks

Needed to copy template as new workfile.
Needed to open Wrap with workfile.
This commit is contained in:
Petr Kalis 2023-12-05 13:04:32 +01:00 committed by GitHub
parent fe132f1d6a
commit a557b8b5e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 1 deletions

View file

@ -27,6 +27,7 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook):
"tvpaint",
"substancepainter",
"aftereffects",
"wrap"
}
launch_types = {LaunchTypes.local}

View file

@ -19,7 +19,8 @@ class CopyTemplateWorkfile(PreLaunchHook):
# Before `AddLastWorkfileToLaunchArgs`
order = 0
app_groups = {"blender", "photoshop", "tvpaint", "aftereffects"}
app_groups = {"blender", "photoshop", "tvpaint", "aftereffects",
"wrap"}
launch_types = {LaunchTypes.local}
def execute(self):

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1158,6 +1158,32 @@
}
]
},
"wrap": {
"enabled": true,
"label": "Wrap",
"icon": "{}/app_icons/wrap.png",
"host_name": "wrap",
"environment": "{\n \n}",
"variants": [
{
"name": "2023",
"use_python_2": false,
"executables": {
"windows": [
"c:\\Program Files\\Faceform\\Wrap 2023.10.2\\Wrap.exe"
],
"darwin": [],
"linux": []
},
"arguments": {
"windows": [],
"darwin": [],
"linux": []
},
"environment": "{\n \n}"
}
]
},
"additional_apps": []
}
}

View file

@ -168,6 +168,8 @@ class ApplicationsSettings(BaseSettingsModel):
default_factory=AppGroupWithPython, title="Substance Painter")
unreal: AppGroup = Field(
default_factory=AppGroupWithPython, title="Unreal Editor")
wrap: AppGroup = Field(
default_factory=AppGroupWithPython, title="Wrap")
additional_apps: list[AdditionalAppGroup] = Field(
default_factory=list, title="Additional Applications")