Refactor CopyPlugins() out of TryCompile()

PiperOrigin-RevId: 698072233
Change-Id: I2138d9d8383838328611eef463448fe2f15bd173
This commit is contained in:
Yuval Tassa
2024-11-19 10:46:03 -08:00
committed by Copybara-Service
parent 821f1d3f98
commit 58d68d08d3
2 changed files with 85 additions and 82 deletions
+1
View File
@@ -322,6 +322,7 @@ class mjCModel : public mjCModel_, private mjSpec {
void CopyPaths(mjModel*); // copy paths, compute path addresses
void CopyObjects(mjModel*); // copy objects outside kinematic tree
void CopyTree(mjModel*); // copy objects inside kinematic tree
void CopyPlugins(mjModel*); // copy plugin data
// objects created here
std::vector<mjCFlex*> flexes_; // list of flexes