Unreal: Added support for version 4.26

This commit is contained in:
Simone Barbieri 2021-04-20 10:43:54 +01:00
parent 1c425f3e7f
commit 7440de9b9b
4 changed files with 5 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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": [],