Details
Description
Adding a component defined in a separate qml file to the scene doesn't properly update _pickTarget property of any models generated by Repeater3D inside the component. E.g. qml file has content:
import QtQuick import QtQuick3D import Q65 Node { id: componentRoot Repeater3D { id: repeater3D model: 5 Model { id: cone x: index * 105 y: 0 source: "#Cone" z: 0 eulerRotation.x: index * 15 materials: coneMaterial DefaultMaterial { id: coneMaterial diffuseColor: "#4aee45" } } } }
Adding this component into the scene in View3D and clicking on any of the generated cones briefly selects the individual cone rather than the component node it should.
Attachments
For Gerrit Dashboard: QDS-5745 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
385687,3 | QmlDesigner: Fix picking of Repeater3D/Loader3D generated nodes | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |