Disable Color Management

Disable Color Management

Anonymous
Not applicable
3,326 Views
6 Replies
Message 1 of 7

Disable Color Management

Anonymous
Not applicable
Unfortunately Maya 2016 saves the Color Management setting on a scene by scene basis instead of saving it in the window or user prefs.  Really annoying as it must be turned off every time a new scene is started.  http://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Maya/file...
 
 
Anyone know how to disable Color Management by default in Maya 2016?  The mel command: 
 
colorManagementPrefs -edit -cmEnabled 0;  
 
seems to do the trick but adding it to my userSetup.mel file does not work.
0 Likes
3,327 Views
6 Replies
Replies (6)
Message 2 of 7

Thiird
Advocate
Advocate

You can write that command in the script editor, then select it and middle mouse drag it to a shelf in order to make a button out of it 🙂

So you can toggle the color managment 🙂

0 Likes
Message 3 of 7

Anonymous
Not applicable

Thanks for the suggestion.  Unfortunately creating a shelf button still means an artist has to remember to click it every single time.  Want something that run automatically.  

 

What script is called by maya to generate a blank new scene?  Was looking into potentially modfiying it.  I think this may be the right script but am not sure:

 

C:\Program Files\Autodesk\Maya2016\scripts\startup\performNewScene.mel 

0 Likes
Message 4 of 7

Thiird
Advocate
Advocate

My knowledge of scripting arent yet good so I cant help you on this side 😞

Sorry but...you didnt tried to uncheck color managmente and hit save in the preferences?

0 Likes
Message 5 of 7

Anonymous
Not applicable

As stated in the original question....Maya defaults to Color Management on in every new scene file.  It does not save the preference in the preferences settings.

0 Likes
Message 6 of 7

Anonymous
Not applicable

Official response from Autodesk encasulated below in ####

####

 

You can use "color management policies (external preference files)" to Disable Color Management.

http://help.autodesk.com/view/MAYAUL/2016/ENU/?guid=GUID-AE1F72ED-FA00-4E81-8027-785E3D6058F7

 

####

 

There is a big problem with this as it has the potential to overwrite color management settings for existing scenes that are subsequently read in. Maya needs to change the default behavior to the following: 

 

a) respect current color management settings in a scene when reading a scene
b) if the scene has no color management settings then color management should be left unchecked (not checked on by default as is the current case)
c) new scenes should reflect a default that can be set using the suggestions listed at: http://help.autodesk.com/view/MAYAUL/2016/ENU/?guid=GUID-AE1F72ED-FA00-4E81-8027-785E3D6058F7

0 Likes
Message 7 of 7

tony.su
Autodesk Support
Autodesk Support

we can add mel in $MAYA_LOCATION/scripts/others/InitializeNewScene.mel.
This only runs when you do a File > New and open Maya.

 

Adding `colorManagementPrefs -edit -cmEnabled 0;`in InitializeNewScene.mel can solve this problem.

 

disable CM.jpg



Tony Su
Product Support