mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
BigRoy's Comments
This commit is contained in:
parent
75673151a6
commit
668bcb2d40
2 changed files with 8 additions and 13 deletions
|
|
@ -57,16 +57,11 @@ class ARenderProduct(object):
|
|||
|
||||
|
||||
def get_default_display_view_colorspace():
|
||||
"""Get default display view colorspace.
|
||||
"""Get default display view colorspace name. """
|
||||
|
||||
It's used for 'ociocolorspace' parm in OpneGL Node."""
|
||||
|
||||
data = get_color_management_preferences()
|
||||
config_path = data.get("config")
|
||||
display = data.get("display")
|
||||
view = data.get("view")
|
||||
|
||||
default_view_space = get_display_view_colorspace_name(config_path,
|
||||
display,
|
||||
view)
|
||||
return default_view_space
|
||||
prefs = get_color_management_preferences()
|
||||
return get_display_view_colorspace_name(
|
||||
config_path=prefs["config"],
|
||||
display=prefs["display"],
|
||||
view=prefs["view"]
|
||||
)
|
||||
|
|
|
|||
|
|
@ -650,7 +650,7 @@ def get_display_view_colorspace_subprocess(config_path, display, view):
|
|||
"--view", view
|
||||
|
||||
]
|
||||
log.info("Executing: {}".format(" ".join(args)))
|
||||
log.debug("Executing: {}".format(" ".join(args)))
|
||||
|
||||
process_kwargs = {
|
||||
"logger": log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue