Merge pull request #919 from BigRoy/enhancement/cinema4d_hooks

Add cinema4d to OCIO prelaunch hook
This commit is contained in:
Jakub Trllo 2024-09-30 13:07:53 +02:00 committed by GitHub
commit 8784f8ea01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -19,7 +19,8 @@ class OCIOEnvHook(PreLaunchHook):
"nuke",
"hiero",
"resolve",
"openrv"
"openrv",
"cinema4d"
}
launch_types = set()

View file

@ -9,6 +9,7 @@ AVALON_INSTANCE_ID = "pyblish.avalon.instance"
HOST_WORKFILE_EXTENSIONS = {
"blender": [".blend"],
"celaction": [".scn"],
"cinema4d": [".c4d"],
"tvpaint": [".tvpp"],
"fusion": [".comp"],
"harmony": [".zip"],

View file

@ -36,7 +36,8 @@ class ValidateCurrentSaveFile(pyblish.api.ContextPlugin):
label = "Validate File Saved"
order = pyblish.api.ValidatorOrder - 0.1
hosts = ["fusion", "houdini", "max", "maya", "nuke", "substancepainter"]
hosts = ["fusion", "houdini", "max", "maya", "nuke", "substancepainter",
"cinema4d"]
actions = [SaveByVersionUpAction, ShowWorkfilesAction]
def process(self, context):