From 42788e0c54e994609bcab1cf757b38a86b815f5a Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Sat, 10 Mar 2018 17:42:47 +0000 Subject: Notify texture status changed Change-Id: Id8ef731d5f80648c19221c1d1b334bd8367188c3 Reviewed-by: Paul Lemire --- tests/manual/downloading/main.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/manual/downloading/main.qml b/tests/manual/downloading/main.qml index 1dbbc3e5c..a78cf605e 100644 --- a/tests/manual/downloading/main.qml +++ b/tests/manual/downloading/main.qml @@ -82,7 +82,7 @@ Entity { Mesh { id: mesh source: "https://codereview.qt-project.org/gitweb?p=qt/qt3d.git;a=blob_plain;hb=refs/heads/dev;f=examples/qt3d/exampleresources/assets/chest/Chest.obj" - onStatusChanged: console.log("Status " + status) + onStatusChanged: console.log("Mesh status " + status) } Transform { @@ -93,7 +93,10 @@ Entity { DiffuseMapMaterial { id: material - diffuse: TextureLoader { source: "https://codereview.qt-project.org/gitweb?p=qt/qt3d.git;a=blob_plain;hb=refs/heads/dev;f=examples/qt3d/planets-qml/images/solarsystemscope/earthmap2k.jpg" } + diffuse: TextureLoader { + source: "https://codereview.qt-project.org/gitweb?p=qt/qt3d.git;a=blob_plain;hb=refs/heads/dev;f=examples/qt3d/planets-qml/images/solarsystemscope/earthmap2k.jpg" + onStatusChanged: console.log("TextureLoader status " + status) + } specular: Qt.rgba( 0.2, 0.2, 0.2, 1.0 ) shininess: 2.0 } -- cgit v1.2.3