add content_type to model in the XML schema.
PiperOrigin-RevId: 670961443 Change-Id: I98cd6bb61b50029cdd4f5b31e23d268989d136da
This commit is contained in:
committed by
Copybara-Service
parent
9a27fc14c2
commit
0e8c0b80eb
@@ -1547,7 +1547,7 @@ void mjCModel::SetSizes() {
|
||||
for (int i=0; i<nhfield; i++) nhfielddata += hfields_[i]->nrow * hfields_[i]->ncol;
|
||||
|
||||
// ntexdata
|
||||
for (int i=0; i<ntex; i++) ntexdata += 3 * textures_[i]->width * textures_[i]->height;
|
||||
for (int i=0; i<ntex; i++) ntexdata += textures_[i]->nchannel * textures_[i]->width * textures_[i]->height;
|
||||
|
||||
// nwrap
|
||||
for (int i=0; i<ntendon; i++) nwrap += (int)tendons_[i]->path.size();
|
||||
|
||||
Reference in New Issue
Block a user