Fix debug draw with shared shapes
A collision shape can be shared between several bodies. Currently
the shape is only shown for one of the bodies. We solve this by
simply using a pair of shape and body as the key in the hashmap
holding the debug models.
Pick-to: 6.5 6.5.2 6.6
Change-Id: I76dc47ba3198551e5801852fac696669c53554a4
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
| commit | 5ac18bcee0669c615e179bee6d461190a44cf8aa |
| parent | 6ed5c96605951826c51c5fefd8300544fdd25dcb |
| author | Jonas Karlsson <jonas.karlsson@qt.io> |
| committer | Jonas Karlsson <jonas.karlsson@qt.io> |
| commit time | Mon, 26 Jun 2023 14:31:41 +0000 |