mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
global: configData rename to config
This commit is contained in:
parent
4e0d9137b7
commit
78b0e70bfd
3 changed files with 5 additions and 5 deletions
|
|
@ -362,7 +362,7 @@ class ExtractorColormanaged(Extractor):
|
|||
{
|
||||
# for other publish plugins and loaders
|
||||
"colorspace": "linear",
|
||||
"configData": {
|
||||
"config": {
|
||||
# for future references in case need
|
||||
"path": "/abs/path/to/config.ocio",
|
||||
# for other plugins within remote publish cases
|
||||
|
|
@ -418,7 +418,7 @@ class ExtractorColormanaged(Extractor):
|
|||
if colorspace:
|
||||
colorspace_data = {
|
||||
"colorspace": colorspace,
|
||||
"configData": config_data
|
||||
"config": config_data
|
||||
}
|
||||
|
||||
# update data key
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class ExtractColorspaceData(publish.ExtractorColormanaged):
|
|||
Output data:
|
||||
representation[colorspaceData] = {
|
||||
"colorspace": "linear",
|
||||
"configData": {
|
||||
"config": {
|
||||
"path": "/abs/path/to/config.ocio",
|
||||
"template": "{project[root]}/path/to/config.ocio"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,14 +23,14 @@ It's up to the Loaders to read these values and apply the correct expected color
|
|||
|
||||
### Keys
|
||||
- **colorspace** - string value used in other publish plugins and loaders
|
||||
- **configData** - storing two versions of path.
|
||||
- **config** - storing two versions of path.
|
||||
- **path** - is formated and with baked platform root. It is used for posible need to find out where we were sourcing color config during publishing.
|
||||
- **template** - unformated tempate resolved from settings. It is used for other plugins targeted to remote publish which could be processed at different platform.
|
||||
|
||||
### Example
|
||||
{
|
||||
"colorspace": "linear",
|
||||
"configData": {
|
||||
"config": {
|
||||
"path": "/abs/path/to/config.ocio",
|
||||
"template": "{project[root]}/path/to/config.ocio"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue