tests/auto/quick3d/quick3dnodeinstantiator/data/createNone.qml
raw| 1 | import QtQml 2.1 |
| 2 | import Qt3D.Core 2.0 |
| 3 | |
| 4 | Entity { |
| 5 | NodeInstantiator { |
| 6 | model: 0 |
| 7 | property bool success: true |
| 8 | Entity { |
| 9 | property bool success: true |
| 10 | property int idx: index |
| 11 | } |
| 12 | onObjectChanged: success = false;//Don't create intermediate objects |
| 13 | onCountChanged: success = false;//Don't create intermediate objects |
| 14 | } |
| 15 | } |