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++
Make pixel grid also work in HDR.
Wolthera van Hövell tot Westerflier439690174568
diff --git a/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp b/libs/ui/opengl/KisOpenGLCanvasRenderer.cppindex 7db0537f85..35b6c7bd37 100644--- a/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp+++ b/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp@@ -995,6 +995,7 @@ void KisOpenGLCanvasRenderer::updateConfig()d->filterMode = (KisOpenGL::FilterMode) cfg.openGLFilteringMode();updateCursorColor();+ updatePixelGridMode();}void KisOpenGLCanvasRenderer::updateCursorColor()@@ -1012,7 +1013,7 @@ void KisOpenGLCanvasRenderer::updatePixelGridMode()d->pixelGridDrawingThreshold = cfg.getPixelGridDrawingThreshold();d->pixelGridEnabled = cfg.pixelGridEnabled();- d->gridColor = cfg.getPixelGridColor();+ d->gridColor = colorToDisplaySpace(cfg.getPixelGridColor());}QRectF KisOpenGLCanvasRenderer::widgetToSurface(const QRectF &rc)