Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4140

ShowColorDialog() returns transparency 00 in Rhino 7

$
0
0

In Rhino 5 and 6 the following code returns the selected color with transparency = FF. However, in Rhino 7 it returns the color with transparency 00.
System.Drawing.Color new_color = new System.Drawing.Color();
bool picked = Rhino.UI.Dialogs.ShowColorDialog(ref new_color);
Is it intended, a bug, or am I getting anything wrong? I don’t see how I can set the transparency in the color picker.
Thanks,
Jordi

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4140

Trending Articles