forked from qt-creator/qt-creator
Calculating camera frustum geometry requires linked camera spatial node to be up-to-date. However, we can't control the order in which the spatial nodes of cameras and geometries are updated, so geometry update will often happen first. Therefore we need to defer geometry update to the next frame when we detect camera change. Change-Id: I056eb1bf95db357a73511a6bb7ef0c55c6f4befa Fixes: QDS-1649 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>