summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2015-01-02 14:49:00 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-01-10 20:58:17 +0100
commit15b78caa27a198567d06e4e42ae5f01203b29a1b (patch)
treeee1318f5f18db4cc471416ef0088ead3ed7d8ee4 /examples/examples.pro
parentd71c687d5d3f1adc6fea209b6e08db36e1b0e6fb (diff)
Fix dynamic reparenting issues
Changing the parent of an Entity at runtime caused lots of crashes. These are a few notes / changes that allow the program not to crash during such changes. * QEntity dtor calls removeAllComponents only on non clone entities * We do not clone the parent on child but the child directly when sending a notification about a node removed. I suspect the EntityLoader is not deleting the previously loaded Entity in the loader-qml example and therefore didn't produce a crash. This might have also impacted the shutdown of any Qt3D application. dynamicscene example to test that in a follow up patch. Change-Id: I4ff62ae670e35ef6b783b4fc5babec942c082c9a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/examples.pro')
0 files changed, 0 insertions, 0 deletions