summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2014-05-20 08:54:07 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2014-05-20 09:54:02 +0300
commitb6da9160b2d81283ec9fc082c08987ecc95650da (patch)
treebc2cab637d9a8b23bab4218cd7183ebbbcb4160e /tests
parent0004b7598d5826bf5e1e4fb7256b13dbc220ec47 (diff)
Do not draw custom items outside axis ranges
Task-number: QTRD-3057 Change-Id: Icb8904fa0a1c009985ac21ee6fa51eefda81d9cc Change-Id: Icb8904fa0a1c009985ac21ee6fa51eefda81d9cc Reviewed-by: Titta Heikkala <titta.heikkala@digia.com> Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qmlcamera/qml/qmlcamera/main.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qmlcamera/qml/qmlcamera/main.qml b/tests/qmlcamera/qml/qmlcamera/main.qml
index d2109772..c357accf 100644
--- a/tests/qmlcamera/qml/qmlcamera/main.qml
+++ b/tests/qmlcamera/qml/qmlcamera/main.qml
@@ -74,7 +74,7 @@ Rectangle {
id: shuttleItem
meshFile: ":/items/shuttle.obj"
textureFile: ":/items/shuttle.png"
- position: Qt.vector3d(5.0,35.0,3.0)
+ position: Qt.vector3d(5.0,29.0,3.0)
scaling: Qt.vector3d(0.2,0.2,0.2)
}
@@ -152,6 +152,7 @@ Rectangle {
onClicked: {
currentAngle += 5
chartData.series.meshAngle = currentAngle
+ shuttleItem.setRotationAxisAndAngle(Qt.vector3d(0.0, 1.0, 1.0), currentAngle)
}
}