From 2935af23f017f459cb587aa4df27f480a2e52b54 Mon Sep 17 00:00:00 2001 From: Sam Haves Date: Fri, 19 Dec 2025 08:30:20 -0800 Subject: [PATCH] Add MJAPI to Get/SetUsdPrimPathUserValue declarations. PiperOrigin-RevId: 846745363 Change-Id: I31f0af0675578a3dd63db7c56d9258206e19471d --- include/mujoco/experimental/usd/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mujoco/experimental/usd/utils.h b/include/mujoco/experimental/usd/utils.h index f3dcd4b5..99d33c9b 100644 --- a/include/mujoco/experimental/usd/utils.h +++ b/include/mujoco/experimental/usd/utils.h @@ -22,12 +22,12 @@ namespace mujoco { namespace usd { // Sets a user value on an mjsElement with the key "usd_primpath". -void SetUsdPrimPathUserValue(mjsElement* element, +MJAPI void SetUsdPrimPathUserValue(mjsElement* element, const pxr::SdfPath& prim_path); // Gets the user value associated with the key "usd_primpath" from an // mjsElement. Returns empty pxr::SdfPath() if the value is not found. -pxr::SdfPath GetUsdPrimPathUserValue(mjsElement* element); +MJAPI pxr::SdfPath GetUsdPrimPathUserValue(mjsElement* element); } // namespace usd } // namespace mujoco