Adds color space to textures.
PiperOrigin-RevId: 761907261 Change-Id: Iec546d1d5907a15e57ef809ec31850640fc52915
This commit is contained in:
committed by
Copybara-Service
parent
62a9d5b98d
commit
3e9bc79b54
@@ -1488,6 +1488,7 @@ void mjXWriter::Asset(XMLElement* root) {
|
||||
|
||||
// write common attributes
|
||||
WriteAttrKey(elem, "type", texture_map, texture_sz, texture->type);
|
||||
WriteAttrKey(elem, "colorspace", colorspace_map, colorspace_sz, texture->colorspace);
|
||||
WriteAttrTxt(elem, "name", texture->name);
|
||||
|
||||
// write builtin
|
||||
|
||||
Reference in New Issue
Block a user