Avoid duplicated code in mjCModel by adding ResetTreeLists().
PiperOrigin-RevId: 653575505 Change-Id: I61ee1462deae2a371cf6f36ca1cf3dbbd88d174c
This commit is contained in:
committed by
Copybara-Service
parent
67922f41b9
commit
231d9632cd
@@ -353,6 +353,9 @@ class mjCModel : public mjCModel_, private mjSpec {
|
||||
// populate objects ids
|
||||
void ProcessLists(bool checkrepeat = true);
|
||||
|
||||
// reset lists of kinematic tree
|
||||
void ResetTreeLists();
|
||||
|
||||
mjListKeyMap ids; // map from object names to ids
|
||||
mjCError errInfo; // last error info
|
||||
bool plugin_owner; // this class allocated the plugins
|
||||
|
||||
Reference in New Issue
Block a user