add to imageio schema

This commit is contained in:
karimmozlia 2021-10-22 17:45:43 +02:00
parent dc206f0ce6
commit 076d090de4
3 changed files with 46 additions and 0 deletions

View file

@ -2,6 +2,7 @@
import re
import os
import platform
import uuid
import math
@ -1885,6 +1886,8 @@ def set_context_settings():
# Set frame range.
avalon.maya.interactive.reset_frame_range()
# Set colorspace
set_colorspace()
# Valid FPS

View file

@ -174,5 +174,16 @@
}
]
}
},
"maya": {
"colorManagmentPreference": {
"configFilePath": {
"windows": [],
"darwin": [],
"linux": []
},
"renderSpace": "scene-linear Rec 709/sRGB",
"viewTransform": "sRGB gamma"
}
}
}

View file

@ -358,6 +358,38 @@
]
}
]
},
{
"key": "maya",
"type": "dict",
"label": "Maya",
"children": [
{
"key": "colorManagmentPreference",
"type": "dict",
"label": "Color Managment Preference",
"collapsible": false,
"children": [
{
"type": "path",
"key": "configFilePath",
"label": "OCIO Config File Path",
"multiplatform": true,
"multipath": true
},
{
"type": "text",
"key": "renderSpace",
"label": "Rendering Space"
},
{
"type": "text",
"key": "viewTransform",
"label": "Viewer Transform"
}
]
}
]
}
]
}