mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Unreal: Added support for version 4.26
This commit is contained in:
parent
1c425f3e7f
commit
7440de9b9b
4 changed files with 5 additions and 6 deletions
|
|
@ -7,7 +7,7 @@ class PrePython2Vendor(PreLaunchHook):
|
|||
# WARNING This hook will probably be deprecated in OpenPype 3 - kept for
|
||||
# test
|
||||
order = 10
|
||||
app_groups = ["hiero", "nuke", "nukex", "unreal", "maya", "houdini"]
|
||||
app_groups = ["hiero", "nuke", "nukex", "maya", "houdini"]
|
||||
|
||||
def execute(self):
|
||||
# Prepare vendor dir path
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class UnrealPrelaunchHook(PreLaunchHook):
|
|||
asset_name = self.data["asset_name"]
|
||||
task_name = self.data["task_name"]
|
||||
workdir = self.launch_context.env["AVALON_WORKDIR"]
|
||||
engine_version = self.app_name.split("_")[-1].replace("-", ".")
|
||||
engine_version = self.app_name.split("/")[-1].replace("-", ".")
|
||||
unreal_project_name = f"{asset_name}_{task_name}"
|
||||
|
||||
# Unreal is sensitive about project names longer then 20 chars
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ class PrePython2Support(PreLaunchHook):
|
|||
Path to vendor modules is added to the beggining of PYTHONPATH.
|
||||
"""
|
||||
# There will be needed more granular filtering in future
|
||||
app_groups = ["maya", "nuke", "nukex", "hiero", "nukestudio", "unreal"]
|
||||
app_groups = ["maya", "nuke", "nukex", "hiero", "nukestudio"]
|
||||
|
||||
def execute(self):
|
||||
# Prepare vendor dir path
|
||||
|
|
|
|||
|
|
@ -1119,11 +1119,10 @@
|
|||
"host_name": "unreal",
|
||||
"environment": {
|
||||
"AVALON_UNREAL_PLUGIN": "{OPENPYPE_REPOS_ROOT}/repos/avalon-unreal-integration",
|
||||
"OPENPYPE_LOG_NO_COLORS": "True",
|
||||
"QT_PREFERRED_BINDING": "PySide"
|
||||
"OPENPYPE_LOG_NO_COLORS": "True"
|
||||
},
|
||||
"variants": {
|
||||
"4-24": {
|
||||
"4-26": {
|
||||
"executables": {
|
||||
"windows": [],
|
||||
"darwin": [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue