From 61f7b38201e108e85cfe9e9eda0d00667110f360 Mon Sep 17 00:00:00 2001 From: Alexander Vieth Date: Tue, 3 Mar 2026 14:34:29 +0100 Subject: [PATCH] Mirror image to align QImage and OpenGL texture coordinates --- src/ImageProp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageProp.cpp b/src/ImageProp.cpp index 48c24b21..85195d5e 100644 --- a/src/ImageProp.cpp +++ b/src/ImageProp.cpp @@ -244,7 +244,7 @@ void ImageProp::setColorMapImage(const QImage& colorMapImage) auto& texture = getTextureByName("ColorMap"); // Reset and assign the texture - texture.reset(new QOpenGLTexture(colorMapImage)); + texture.reset(new QOpenGLTexture(colorMapImage.mirrored())); // Create the texture if not created if (!texture->isCreated())