Enable keyframe loading and saving in passive viewer. Fixes #1175
PiperOrigin-RevId: 582332757 Change-Id: Iff23359e670906c0e88a2d34273c493bc8cbe2af
This commit is contained in:
committed by
Copybara-Service
parent
f5285e0b23
commit
7051ab99e0
@@ -1281,7 +1281,7 @@ int UiPredicate(int category, void* userdata) {
|
||||
return sim->m_ || sim->is_passive_;
|
||||
|
||||
case 3: // require model and nkey
|
||||
return !sim->is_passive_ && sim->nkey_;
|
||||
return (sim->m_ || sim->is_passive_) && sim->nkey_;
|
||||
|
||||
case 4: // require model and paused
|
||||
return sim->m_ && !sim->run;
|
||||
|
||||
Reference in New Issue
Block a user