From 08886311651651903989e132148f715464c923f3 Mon Sep 17 00:00:00 2001 From: Sarah Smith Date: Tue, 22 Mar 2011 16:45:10 +1000 Subject: [PATCH] Fix image texture loading bug. --- src/quick3d/qdeclarativeeffect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quick3d/qdeclarativeeffect.cpp b/src/quick3d/qdeclarativeeffect.cpp index de059834d..4758d78bc 100644 --- a/src/quick3d/qdeclarativeeffect.cpp +++ b/src/quick3d/qdeclarativeeffect.cpp @@ -264,6 +264,7 @@ void QDeclarativeEffect::setTexture(const QUrl& value) else { // Load the new texture + d->textureUrl = value; QString localFile = d->textureUrl.toLocalFile(); if (localFile.endsWith(QLatin1String(".dds"))) {