summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-11-24 11:47:42 +0100
committerLiang Qi <liang.qi@qt.io>2016-11-24 11:47:42 +0100
commit4a4b5383e8e2a33db2b95b5540da430df0835125 (patch)
tree6a1d3498b485657aba2dead6e2b9012ffe7fb8d2 /tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml
parentbc218e2fba92368e2c5d8547042d1939481d5e2c (diff)
parent0eac16fbda846c951f9b3887199e72b66f5aacd7 (diff)
Merge remote-tracking branch 'origin/5.7.1' into 5.7
Diffstat (limited to 'tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml')
-rw-r--r--tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml b/tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml
index 736a02b45..eef31cb8c 100644
--- a/tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml
+++ b/tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml
@@ -1,13 +1,15 @@
import QtQml 2.1
import Qt3D.Core 2.0
-NodeInstantiator {
- model: 0
- property bool success: true
- Entity {
+Entity {
+ NodeInstantiator {
+ model: 0
property bool success: true
- property int idx: index
+ Entity {
+ property bool success: true
+ property int idx: index
+ }
+ onObjectChanged: success = false;//Don't create intermediate objects
+ onCountChanged: success = false;//Don't create intermediate objects
}
- onObjectChanged: success = false;//Don't create intermediate objects
- onCountChanged: success = false;//Don't create intermediate objects
}