Rename mesh_assetpathadr to mesh_pathadr and move it to the end of the mesh section.
PiperOrigin-RevId: 568911603 Change-Id: I8f21c3d1cc9c73b6a95292a50f262b1a199d0898
This commit is contained in:
committed by
Copybara-Service
parent
0dfeedb320
commit
8ed321d469
@@ -1332,10 +1332,10 @@ void mjCModel::CopyPaths(mjModel* m) {
|
||||
|
||||
for (unsigned int i=0; i<meshes.size(); i++) {
|
||||
if (meshes[i]->file().empty()) {
|
||||
m->mesh_assetpathadr[i] = -1;
|
||||
m->mesh_pathadr[i] = -1;
|
||||
continue;
|
||||
}
|
||||
m->mesh_assetpathadr[i] = adr;
|
||||
m->mesh_pathadr[i] = adr;
|
||||
|
||||
// copy path
|
||||
size_t path_size = meshes[i]->file().size();
|
||||
|
||||
Reference in New Issue
Block a user