Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.3
-
None
-
e7795895ae (qt/qtquick3d/dev) 0dde84bd8d (qt/qtquick3d/6.3) d13833708d (qt/qtquick3d/6.2) d13833708d (qt/tqtc-qtquick3d/6.2) 0dde84bd8d (qt/tqtc-qtquick3d/6.3) d13833708d (qt/qtquick3d/6.2) 0dde84bd8d (qt/tqtc-qtquick3d/6.3.1)
Description
m_parentNode is only set in QQuick3DParticleAbstractShape::componentComplete(), so shape will not function correctly when dynamically created without parent and reparented later. QDS does this when a new node is added to the scene, so a puppet reset is required to make it work.
Also, since reparenting doesn't update the m_parentNode, you can get a crash if the original parent node is deleted after reparenting.
Attachments
Issue Links
- resulted from
-
QDS-6473 ParticleShape3D initially doesn't work when added to the scene
-
- Closed
-
For Gerrit Dashboard: QTBUG-101882 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
402356,2 | Fix reparenting particle shapes | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
402763,3 | Fix reparenting particle shapes | 6.2 | qt/qtquick3d | Status: MERGED | +2 | 0 |
402764,2 | Fix reparenting particle shapes | 6.3 | qt/qtquick3d | Status: MERGED | +2 | 0 |