Files
Mujoco_WASM/doc
Sam Haves da01bd37a2 Remove modelfiledir_ from compiled assets, use owning spec modelfiledir instead.
Previously specs that were attached to some parent spec would resolve its asset paths relative to the modelfiledir of the parent spec. This means path resolution would change depending on the source of the parent spec. Instead, this change makes asset file path resolution relative to the "owning spec" i.e. the spec where the asset was created.

This enables workflows such as loading a parent spec via resource provider, then loading a child spec via `from_zip` or in memory providing `spec.assets` and resolution will work as intended.

PiperOrigin-RevId: 903207910
Change-Id: Ia58020ab372a3ceadf31e804d145e2ae53d8e5f9
2026-04-21 07:00:05 -07:00
..
2026-04-09 06:52:45 -07:00
2026-04-21 04:03:22 -07:00
2026-04-09 06:52:45 -07:00
2026-04-21 04:03:22 -07:00
2026-04-20 12:53:17 -07:00
2026-04-20 01:13:17 -07:00
2025-01-27 10:58:22 -08:00
2026-01-23 07:53:17 -08:00
2025-07-03 06:35:11 -07:00
2025-09-16 07:56:41 -07:00
2026-04-20 12:53:17 -07:00
2026-04-16 09:02:08 -07:00
2026-01-06 09:51:36 -08:00