mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 16:51:21 -06:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators
This commit is contained in:
commit
e92cf311db
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue