Compile frames during compilation instead of parsing.

PiperOrigin-RevId: 625717564
Change-Id: Ib82230f6cb423bb3091efd04a7fa0b1411e7cdf1
This commit is contained in:
Alessio Quaglino
2024-04-17 09:54:57 -07:00
committed by Copybara-Service
parent a4c31c09a8
commit 4a76496533
2 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -3118,7 +3118,7 @@ void mjCModel::TryCompile(mjModel*& m, mjData*& d, const mjVFS* vfs) {
// compile objects in kinematic tree
for (int i=0; i<bodies.size(); i++) {
bodies[i]->Compile(); // also compiles joints, geoms, sites, cameras, lights
bodies[i]->Compile(); // also compiles joints, geoms, sites, cameras, lights, frames
}
// compile all other objects except for keyframes