Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2, 6.3.0 Beta2
-
None
-
-
ff2415c4cf (qt/qtquick3d/dev) ff2415c4cf (qt/tqtc-qtquick3d/dev) ebf5cf2597 (qt/tqtc-qtquick3d/6.2) 7a4993ce13 (qt/qtquick3d/6.3) b4e601b10c (qt/qtquick3d/6.4) 7a4993ce13 (qt/tqtc-qtquick3d/6.3) b4e601b10c (qt/tqtc-qtquick3d/6.4)
Description
If I need to invalidate a Joint node, I set the index to -1 to be sure that it doesn't override another, valid Joint. Sometimes this change crashes the application with error:
ASSERT failure in QList::operator[]: "index out of range"
To reproduce run the attached example. When the animation is finished, the joint index is changed to -1 (SimpleSkinning.qml line 109). The application crashes.
Attachments
For Gerrit Dashboard: QTBUG-102193 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
403800,4 | Prevent to use negative values for Joint's indices | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
415243,2 | Prevent to use negative values for Joint's indices | 6.3 | qt/qtquick3d | Status: MERGED | +2 | 0 |
415252,2 | Prevent to use negative values for Joint's indices | tqtc/lts-6.2 | qt/tqtc-qtquick3d | Status: MERGED | +2 | 0 |
415341,3 | Prevent to use negative values for Joint's indices | 6.4 | qt/qtquick3d | Status: MERGED | +2 | 0 |