mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #919 from BigRoy/enhancement/cinema4d_hooks
Add cinema4d to OCIO prelaunch hook
This commit is contained in:
commit
8784f8ea01
3 changed files with 5 additions and 2 deletions
|
|
@ -19,7 +19,8 @@ class OCIOEnvHook(PreLaunchHook):
|
||||||
"nuke",
|
"nuke",
|
||||||
"hiero",
|
"hiero",
|
||||||
"resolve",
|
"resolve",
|
||||||
"openrv"
|
"openrv",
|
||||||
|
"cinema4d"
|
||||||
}
|
}
|
||||||
launch_types = set()
|
launch_types = set()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ AVALON_INSTANCE_ID = "pyblish.avalon.instance"
|
||||||
HOST_WORKFILE_EXTENSIONS = {
|
HOST_WORKFILE_EXTENSIONS = {
|
||||||
"blender": [".blend"],
|
"blender": [".blend"],
|
||||||
"celaction": [".scn"],
|
"celaction": [".scn"],
|
||||||
|
"cinema4d": [".c4d"],
|
||||||
"tvpaint": [".tvpp"],
|
"tvpaint": [".tvpp"],
|
||||||
"fusion": [".comp"],
|
"fusion": [".comp"],
|
||||||
"harmony": [".zip"],
|
"harmony": [".zip"],
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,8 @@ class ValidateCurrentSaveFile(pyblish.api.ContextPlugin):
|
||||||
|
|
||||||
label = "Validate File Saved"
|
label = "Validate File Saved"
|
||||||
order = pyblish.api.ValidatorOrder - 0.1
|
order = pyblish.api.ValidatorOrder - 0.1
|
||||||
hosts = ["fusion", "houdini", "max", "maya", "nuke", "substancepainter"]
|
hosts = ["fusion", "houdini", "max", "maya", "nuke", "substancepainter",
|
||||||
|
"cinema4d"]
|
||||||
actions = [SaveByVersionUpAction, ShowWorkfilesAction]
|
actions = [SaveByVersionUpAction, ShowWorkfilesAction]
|
||||||
|
|
||||||
def process(self, context):
|
def process(self, context):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue