Compile frames during compilation instead of parsing.
PiperOrigin-RevId: 625717564 Change-Id: Ib82230f6cb423bb3091efd04a7fa0b1411e7cdf1
This commit is contained in:
committed by
Copybara-Service
parent
a4c31c09a8
commit
4a76496533
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user