summaryrefslogtreecommitdiffstats
path: root/creatorplugin
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2016-06-29 15:28:02 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2016-06-30 06:39:38 +0000
commit5a4a524f8e242b4669a1a97619d7448d013ff11d (patch)
tree724bf7171cb7d2523756c15ff7f029538d9d396d /creatorplugin
parent6cd403a996bed7a4d4726f75ce6cf086233a354f (diff)
Don't save camera projection matrix
Projection matrix can be calculated from other values, so storing it is unnecessary. Setting it explicitly changes the projection type to custom, which we don't support. Change-Id: Iec7f8b08f52c1693aa9e4dde4c896e994fc8b364 Reviewed-by: Mika Salmela <mika.salmela@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Diffstat (limited to 'creatorplugin')
-rw-r--r--creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml1
1 files changed, 0 insertions, 1 deletions
diff --git a/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml b/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml
index c01c07f..ff262d9 100644
--- a/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml
+++ b/creatorplugin/tocreator/qt3dsceneeditor/GeneratedScene_scene_res/GeneratedScene.qml
@@ -64,7 +64,6 @@ Scene3D {
farPlane: 50
fieldOfView: 45
aspectRatio: 1.7777777910232544
- projectionMatrix: Qt.matrix4x4(1.358,0,0,0,0,2.41421,0,0,0,0,-1.00401,-0.200401,0,0,-1,0)
position: Qt.vector3d(4,5,-5)
viewCenter: Qt.vector3d(0,0,0)
}