We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51da1b3 commit 136eb40Copy full SHA for 136eb40
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