Commit b340a55
committed
Fix OVPhysX iface fixture to mirror PhysX/Newton setup
The fixture was calling data._process_cfg(obj.cfg), but _process_cfg
moved from RigidObjectData onto RigidObject in commit 0887d2d
("Mirror PhysX/Newton patterns in OVPhysX RigidObject"). PhysX/Newton
fixtures don't populate default_root_pose / default_root_vel at all,
so drop the call.
The fixture was also missing the asset-side buffers (_ALL_INDICES,
_ALL_BODY_INDICES, _ALL_TRUE_*_MASK, _wrench_buf, _cpu_* pinned
staging) that RigidObject._initialize_impl normally allocates via
_create_buffers. The PhysX / Newton fixtures install these manually;
on the OVPhysX side it is simpler to call obj._create_buffers()
directly and then overwrite the real WrenchComposers with mocks.
Brings the failing 372 cross-backend iface tests to passing
(372 ovphysx-backend cases now green; 1476 rigid-object iface tests
total pass with 12 documented xfails).1 parent abbeda4 commit b340a55
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
264 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
265 | 270 | | |
266 | 271 | | |
267 | 272 | | |
| |||
0 commit comments