Bug Report: Problem when dragging with "gradientControlNoAttr" in Maya 2020

Bug Report: Problem when dragging with "gradientControlNoAttr" in Maya 2020

morinnicolas8944
Advocate Advocate
625 Views
2 Replies
Message 1 of 3

Bug Report: Problem when dragging with "gradientControlNoAttr" in Maya 2020

morinnicolas8944
Advocate
Advocate

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;
----------------------------------------

0 Likes
Accepted solutions (1)
626 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Im also experiencing this bug!

Also dragging the mouse up and down really throws the slider around.

0 Likes
Message 3 of 3

morinnicolas8944
Advocate
Advocate
Accepted solution

This has been fixed in Maya 2020.3.

0 Likes