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:
committed by
Copybara-Service
parent
c060385505
commit
ae33724de1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user