diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-05-03 10:44:23 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-03 16:13:55 +0000 |
commit | 44ca2d31d278b4b744abfee818a92370daf7c343 (patch) | |
tree | 733bc33f67159ef3a45014e1bfaadbb50a317e4b /examples/qt3d/shadow-map-qml | |
parent | 66da7cf6c57d7883fc6f67e460f57844619d5214 (diff) |
Fix for loading using a Mesh
Added code path avoiding cloning for setting the geometry on the QMesh
which is a QGeopmetryRenderer. This is actually much easier without
cloning. We simply create the QGeometry on the backend, move it to the
main thread, then send it over in a change. In the frontend
QGeometryRenderer, we just extract the pointer to the QGeometry and set
it on the geometry property.
Change-Id: I06db5cba52d783323141a7b1d72b326e319b4960
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/shadow-map-qml')
0 files changed, 0 insertions, 0 deletions