Message 1 of 3
Settings rendering and viewport colorspace on startup (python)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Trying to change my rendering space and viewspace on startup in maya 2022
This is what i currently have in my userSetup.py - however it is not working.
import maya.utils
def color_management():
cmds.colorManagementPrefs(e=True, renderingSpaceName="scene-linear Rec.709-sRGB")
cmds.colorManagementPrefs(e=True, displayName="sRGB")
cmds.colorManagementPrefs(e=True, viewName="Un-tone-mapped")
maya.utils.executeDeferred( "color_management()" )
Anyone have a solution for this ?