Do not delete attached specs after compilation.

Also, copy them when copying the spec.

PiperOrigin-RevId: 688998464
Change-Id: I7229fd8032eafede582194ccf73ab4160fe06768
This commit is contained in:
Alessio Quaglino
2024-10-23 09:41:07 -07:00
committed by Copybara-Service
parent e14aebfd16
commit d17d9e835c
9 changed files with 95 additions and 10 deletions
+9
View File
@@ -4139,6 +4139,15 @@ mjs_getSpec
Get spec from body.
.. _mjs_findSpec:
mjs_findSpec
~~~~~~~~~~~~
.. mujoco-include:: mjs_findSpec
Find spec (model asset) by name.
.. _mjs_findBody:
mjs_findBody