Set info string on wrap instead of tendon when wrapping a prim in the path.

PiperOrigin-RevId: 822688877
Change-Id: I04f5f5576cc0ed43e0ec77d5fccb19d2d23d7349
This commit is contained in:
Sam Haves
2025-10-22 12:12:42 -07:00
committed by Copybara-Service
parent c060385505
commit ae33724de1
+1 -1
View File
@@ -1038,7 +1038,7 @@ void ParseMjcPhysicsTendon(mjSpec* spec,
prim.GetPath().GetAsString().c_str());
return;
}
mjs_setString(mj_tendon->info, ("Prim: " + wrap_target.GetAsString()).c_str());
mjs_setString(wrap->info, ("Prim: " + wrap_target.GetAsString()).c_str());
}
auto group_attr = tendon.GetGroupAttr();