diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-07-30 11:02:05 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-07-30 11:10:25 +0000 |
commit | ce974eb0112fe23b127e937470a5d2689dccb528 (patch) | |
tree | 54febaecc767741869e29b8865a88118a0814278 /src/runtime/q3dsuippresentation.cpp | |
parent | 5497f2371ac9abc5ceda9410967f4371192901b1 (diff) |
Make Q3DSCamera default to 0 0 -600 from C++ too
Remnove the discrepancy between cameras created from uip and code.
Change-Id: I8b04199b931b00f3686caf84fbe7e1d0f39c7357
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/runtime/q3dsuippresentation.cpp')
-rw-r--r-- | src/runtime/q3dsuippresentation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/q3dsuippresentation.cpp b/src/runtime/q3dsuippresentation.cpp index 1b5add2..be2f4c1 100644 --- a/src/runtime/q3dsuippresentation.cpp +++ b/src/runtime/q3dsuippresentation.cpp @@ -2869,6 +2869,7 @@ Q3DSPropertyChange Q3DSLayerNode::setProbe2Pos(float v) Q3DSCameraNode::Q3DSCameraNode() : Q3DSNode(Q3DSGraphObject::Camera) { + m_position = QVector3D(0, 0, -600); } template<typename V> |