summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2011-03-22 16:45:10 +1000
committerSarah Smith <sarah.j.smith@nokia.com>2011-03-22 16:45:10 +1000
commit08886311651651903989e132148f715464c923f3 (patch)
treeeddfe42fa28b7a0f4428a14c3f7da03c1b9aadeb /src
parentc1e9c29ddb3ab1e56bbd649bca54865561c74037 (diff)
Fix image texture loading bug.
Diffstat (limited to 'src')
-rw-r--r--src/quick3d/qdeclarativeeffect.cpp1
1 files changed, 1 insertions, 0 deletions
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")))
{