Fix inherit range pulling from act early attribute when parsing USD to MjSpec.
PiperOrigin-RevId: 783735573 Change-Id: I988f16cd16e47caa84a30009c36a932ec3672429
This commit is contained in:
committed by
Copybara-Service
parent
ac0701d582
commit
b99d9e8f12
@@ -950,8 +950,8 @@ void ParseMjcPhysicsActuator(mjSpec* spec,
|
||||
}
|
||||
|
||||
auto inherit_range_attr = tran.GetMjcInheritRangeAttr();
|
||||
if (act_early_attr.HasAuthoredValue()) {
|
||||
act_early_attr.Get(&mj_act->inheritrange);
|
||||
if (inherit_range_attr.HasAuthoredValue()) {
|
||||
inherit_range_attr.Get(&mj_act->inheritrange);
|
||||
}
|
||||
|
||||
auto ref_site_rel = tran.GetMjcRefSiteRel();
|
||||
|
||||
Reference in New Issue
Block a user