Rebuild debug drawing on geometry update
It is possible the PhysX geometries are re-cooked when changing the
source or geometry of QConvexMeshShape, QTriangleMeshShape or
QHeightFieldShape. Now we store a pointer to the cooked geometry and
rebuild the debug model if it is different.
Pick-to: 6.6 6.5
Change-Id: Iac94440b6539cf4c45a81c779c510ece09dde8bc
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
| commit | fecc364ba770aac80037bb40b01a28b0277c9a7d |
| parent | 355689c70eb574f741c7812405d2c9f995a3dbc4 |
| author | Jonas Karlsson <jonas.karlsson@qt.io> |
| committer | Jonas Karlsson <jonas.karlsson@qt.io> |
| commit time | Mon, 4 Dec 2023 14:48:39 +0100 |