mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-22 04:28:05 +08:00
Fix of the fix
This commit is contained in:
parent
a8e831e04a
commit
a541f5dfe1
@ -545,7 +545,7 @@ unsigned get_colour_approx_luma(const wxColour &colour)
|
|||||||
double g = colour.Green();
|
double g = colour.Green();
|
||||||
double b = colour.Blue();
|
double b = colour.Blue();
|
||||||
|
|
||||||
std::round(std::sqrt(
|
return std::round(std::sqrt(
|
||||||
r * r * .241 +
|
r * r * .241 +
|
||||||
g * g * .691 +
|
g * g * .691 +
|
||||||
b * b * .068
|
b * b * .068
|
||||||
|
Loading…
x
Reference in New Issue
Block a user