We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29744f9 commit 3b70ec0Copy full SHA for 3b70ec0
1 file changed
src/ImageProp.cpp
@@ -244,7 +244,7 @@ void ImageProp::setColorMapImage(const QImage& colorMapImage)
244
auto& texture = getTextureByName("ColorMap");
245
246
// Reset and assign the texture
247
- texture.reset(new QOpenGLTexture(colorMapImage));
+ texture.reset(new QOpenGLTexture(colorMapImage.mirrored()));
248
249
// Create the texture if not created
250
if (!texture->isCreated())
0 commit comments