Skip to content

Commit 2935af2

Browse files
havesscopybara-github
authored andcommitted
Add MJAPI to Get/SetUsdPrimPathUserValue declarations.
PiperOrigin-RevId: 846745363 Change-Id: I31f0af0675578a3dd63db7c56d9258206e19471d
1 parent 9e150fe commit 2935af2

File tree

1 file changed

+2
-2
lines changed
  • include/mujoco/experimental/usd

1 file changed

+2
-2
lines changed

include/mujoco/experimental/usd/utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ namespace mujoco {
2222
namespace usd {
2323

2424
// Sets a user value on an mjsElement with the key "usd_primpath".
25-
void SetUsdPrimPathUserValue(mjsElement* element,
25+
MJAPI void SetUsdPrimPathUserValue(mjsElement* element,
2626
const pxr::SdfPath& prim_path);
2727

2828
// Gets the user value associated with the key "usd_primpath" from an
2929
// mjsElement. Returns empty pxr::SdfPath() if the value is not found.
30-
pxr::SdfPath GetUsdPrimPathUserValue(mjsElement* element);
30+
MJAPI pxr::SdfPath GetUsdPrimPathUserValue(mjsElement* element);
3131

3232
} // namespace usd
3333
} // namespace mujoco

0 commit comments

Comments
 (0)