Store asset keys relative to the MJCF. This CL fixes cases when loading a spec with "from_zip" that fails on zipped folders that contain a root directory.

PiperOrigin-RevId: 825484553
Change-Id: I79c6f542edbd3ffd167d0b5cecc704c32c8d6824
This commit is contained in:
Google DeepMind
2025-10-29 04:23:18 -07:00
committed by Copybara-Service
parent 010d919244
commit d769440924
5 changed files with 31 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ mujoco = [
"testdata/*.xml",
"testdata/*.msh",
"testdata/*.usda",
"testdata/*.zip",
]
[project.optional-dependencies]