diff options
Diffstat (limited to 'examples/qt3d/clip-planes-qml/main.qml')
-rw-r--r-- | examples/qt3d/clip-planes-qml/main.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/qt3d/clip-planes-qml/main.qml b/examples/qt3d/clip-planes-qml/main.qml index c4436a2df..b7bcd5adb 100644 --- a/examples/qt3d/clip-planes-qml/main.qml +++ b/examples/qt3d/clip-planes-qml/main.qml @@ -34,6 +34,7 @@ ** ****************************************************************************/ +import QtQuick 2.4 as QQ2 import Qt3D.Core 2.0 import Qt3D.Render 2.0 @@ -87,8 +88,8 @@ Entity { } property Transform transform: Transform { - Translate { dx: 0 } - Scale { scale: 3 } + translation: Qt.vector3d( 0.0, 0.0, 0.0 ) + scale: 3 } property Layer layer: Layer { |