We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SolveSpace version: 3.0~d9081b0b
Operating system: Windows 10
The opacity of a solid model is preserved when changing the RGB value.
It's reset to 1.
The following patch addresses the issue:
diff --git a/src/textscreens.cpp b/src/textscreens.cpp index 999001a..5c17491 100644 --- a/src/textscreens.cpp +++ b/src/textscreens.cpp @@ -752,7 +752,9 @@ void TextWindow::EditControlDone(std::string s) { Group *g = SK.group.FindByIdNoOops(SS.TW.shown.group); if(!g) break; + auto alpha = g->color.alpha; g->color = RGBf(rgb.x, rgb.y, rgb.z); + g->color.alpha = alpha; SS.MarkGroupDirty(g->h); SS.GW.ClearSuper();
The text was updated successfully, but these errors were encountered:
Fixed in 97c8cb7.
Sorry, something went wrong.
No branches or pull requests
System information
SolveSpace version: 3.0~d9081b0b
Operating system: Windows 10
Expected behavior
The opacity of a solid model is preserved when changing the RGB value.
Actual behavior
It's reset to 1.
Additional information
The following patch addresses the issue:
The text was updated successfully, but these errors were encountered: