Fix bug in MJX viewer.
PiperOrigin-RevId: 617297574 Change-Id: I34fb797db47308a8b2f29a6c54f2b59d77f84a32
This commit is contained in:
committed by
Copybara-Service
parent
cc85a38f3c
commit
b4694ee331
@@ -239,6 +239,7 @@ def _get_contact(
|
|||||||
|
|
||||||
ncon = cx.dist.shape[0]
|
ncon = cx.dist.shape[0]
|
||||||
c.efc_address[:] = np.arange(efc_start, efc_start + ncon * 4, 4)[con_id]
|
c.efc_address[:] = np.arange(efc_start, efc_start + ncon * 4, 4)[con_id]
|
||||||
|
c.dim[:] = 3
|
||||||
|
|
||||||
|
|
||||||
def get_data(
|
def get_data(
|
||||||
|
|||||||
Reference in New Issue
Block a user