- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Maya 2020 introduces a bug when dragging the points of a color ramp control created with the MEL command "gradientControlNoAttr".
Dragging inadvertently changes the colors in the control. This problem appears to be new with Maya 2020 and was not observed with previous versions.
This can easily be reproduced by running the following MEL script and moving the points at the top of the control.
MEL Script:
----------------------------------------
proc createControl() {
string $window = `window -title "test"`;
columnLayout;
string $name = `gradientControlNoAttr -h 90 -rampAsColor 1`;
gradientControlNoAttr -e -asString "0,0,0,0,0,0.333,0.333,0.333,0.25,0,0.667,0.667,0.667,0.5,0,1,1,1,0.75,0" $name;
showWindow $window;
}
createControl;
----------------------------------------
Solved! Go to Solution.