Skip to content

Conversation

@rhdutta
Copy link

@rhdutta rhdutta commented Dec 3, 2025

Changelog Description

Add support for activate_host_color_management setting in Maya's set_colorspace() function. When this setting is false, Maya's color management is now explicitly disabled.

Additional review information

Previously, only the workfile.enabled setting was checked, which would simply skip color management configuration but not disable it, leaving Maya with its default (enabled) state. This allows studios to explicitly disable color management via AYON settings rather than relying on Maya's default preferences.

Testing notes:

  1. Set Maya imageio settings: activate_host_color_management: false, workfile.enabled: false
  2. Launch Maya through AYON - verify color management is disabled in Preferences > Color Management
  3. Set Maya imageio settings: activate_host_color_management: true, workfile.enabled: false
  4. Launch Maya through AYON - verify color management state is unchanged (Maya defaults)
  5. Set Maya imageio settings: activate_host_color_management: true, workfile.enabled: true
  6. Launch Maya through AYON - verify color management is enabled with the configured render space, display, and view settings

@BigRoy BigRoy requested review from BigRoy and antirotor and removed request for antirotor December 9, 2025 15:07
@BigRoy BigRoy self-assigned this Dec 9, 2025
@BigRoy BigRoy added type: enhancement Improvement of existing functionality or minor addition community Issues and PRs coming from the community members labels Dec 9, 2025
Copy link
Contributor

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see the reasoning - but I'm wondering if it was indeed the intend to "fully disable it".

Usually disabling OCIO management from AYON meant that it's 'unmanaged' by AYON and not that it was force disabled. @jakubjezek001 @antirotor thoughts? I'm fine with having a way to force disable OCIO in Maya - I just wonder what the right 'settings' would be like?

E.g. globally having host management enabled but workfile flag disabled I think makes more sense to be the thing that sounds like "manage it, but disable it explicitly". But now this PR makes it seems like if host management is disabled then force disable it always?

)
return

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Issues and PRs coming from the community members type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants