Adds color space to textures.
PiperOrigin-RevId: 761907261 Change-Id: Iec546d1d5907a15e57ef809ec31850640fc52915
This commit is contained in:
committed by
Copybara-Service
parent
62a9d5b98d
commit
3e9bc79b54
@@ -3285,6 +3285,7 @@ void mjCModel::CopyObjects(mjModel* m) {
|
||||
|
||||
// set fields
|
||||
m->tex_type[i] = ptex->type;
|
||||
m->tex_colorspace[i] = ptex->colorspace;
|
||||
m->tex_height[i] = ptex->height;
|
||||
m->tex_width[i] = ptex->width;
|
||||
m->tex_nchannel[i] = ptex->nchannel;
|
||||
|
||||
Reference in New Issue
Block a user