Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
HSL should return 0.0 saturation when light is 0 or 1
Dmitry Kazakov4a9bcafa7175
diff --git a/libs/pigment/KoColorSpaceMaths.h b/libs/pigment/KoColorSpaceMaths.hindex 9b2636f485..65dc6c1813 100644--- a/libs/pigment/KoColorSpaceMaths.h+++ b/libs/pigment/KoColorSpaceMaths.h@@ -955,7 +955,7 @@ struct HSLTypeif(div > std::numeric_limits<TReal>::epsilon())return chroma / div;- return TReal(1.0);+ return TReal(0.0);}};