Raise error when binding to a removed element.

PiperOrigin-RevId: 774462737
Change-Id: I820c0e1c010ae9fbf6d9667c3364d4b65bf21002
This commit is contained in:
Alessio Quaglino
2025-06-22 10:14:40 -07:00
committed by Copybara-Service
parent 419cdf1ff3
commit a00bfa819c
9 changed files with 19 additions and 77 deletions
-9
View File
@@ -3783,15 +3783,6 @@ Attachment
Attach child to a parent, return the attached element if success or NULL otherwise.
.. _mjs_detach:
`mjs_detach <#mjs_detach>`__
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. mujoco-include:: mjs_detach
Detach but not delete object corresponding to the given element, return 0 on success.
.. _AddTreeElements:
Tree elements