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>
commit5ac18bcee0669c615e179bee6d461190a44cf8aa
parent6ed5c96605951826c51c5fefd8300544fdd25dcb
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeMon, 26 Jun 2023 14:31:41 +0000