From 9677851febf223cb3e74aa0d11edf95d0c08b919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4=C3=A4tt=C3=A4?= Date: Thu, 27 Jun 2019 09:47:07 +0300 Subject: Fix simpleqml example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Reset source when window changes because it will cause new renderer to be created and it would not have proper source without it. - Update the example codes and resources - Change how the init timer is initialized to get proper result each time the presentation gets reloaded. Task-number: QT3DS-3681 Change-Id: I64d4f6980b87b6efcbb906bb4ad241956ce0a7bc Reviewed-by: Tomi Korpipää Reviewed-by: Miikka Heikkinen --- examples/studio3d/simpleqml/presentation/barrel.uip | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'examples/studio3d/simpleqml/presentation/barrel.uip') diff --git a/examples/studio3d/simpleqml/presentation/barrel.uip b/examples/studio3d/simpleqml/presentation/barrel.uip index 48b4edc..7b9b2fb 100644 --- a/examples/studio3d/simpleqml/presentation/barrel.uip +++ b/examples/studio3d/simpleqml/presentation/barrel.uip @@ -1,15 +1,15 @@ - + #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff - + - + @@ -17,8 +17,8 @@ - - + + @@ -34,14 +34,14 @@ 0 0 100 100 5 -302 100 100 10 0 100 100 0 0 100 100 5 0 100 100 10 0 100 100 - + 0 0 100 100 5 1 100 100 - + 0 100 100 100 5.009 43.75 100 100 10 100 100 100 0 0 100 100 4.997 0 100 100 5.009 0 100 100 10 0 100 100 0 0 100 100 4.997 0 100 100 5.009 0 100 100 10 360 100 100 @@ -50,7 +50,7 @@ 0 1 100 100 5.009 0.235294 100 100 10 1 100 100 0 0 100 100 5.009 0.333333 100 100 10 0 100 100 - + -- cgit v1.2.3