summaryrefslogtreecommitdiffstats
path: root/src/render/picking/objectpicker_p.h
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2017-01-16 21:27:53 +0000
committerMike Krus <mike.krus@kdab.com>2017-01-20 22:46:26 +0000
commit1cbe2c66d68502cfd84018fd0a38c7abd0a49f95 (patch)
treeb7753eb257837daba349089e1b142815f089b213 /src/render/picking/objectpicker_p.h
parentddc9beec02b8707d38b8d2f900c3af90d58de353 (diff)
Keep the existence of renderer and nodes in sync
Create and delete the node manager along with the renderer. This is require because backend node have a pointer to the renderer so should not outlive it. Note that unregistering the render aspect is probably not safe since the frame advance service used in the aspect manager is owned by the renderer (which gets destroyed when render aspect is unregistered). Also re-registering the render aspect does not cause the backend nodes to be recreated since startup is not called then. Change-Id: I9d301d1b49528133bf28e3ae9ee5acf469c449ae Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/picking/objectpicker_p.h')
0 files changed, 0 insertions, 0 deletions