mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Merge pull request #15390 from sabrina-shanman/hfm_disable-embedded-materials
Disable baking of embedded material textures in material entities
This commit is contained in:
commit
d1d441e8d2
1 changed files with 4 additions and 0 deletions
|
@ -412,9 +412,13 @@ void DomainBaker::enumerateEntities() {
|
||||||
if (entity.contains(MATERIAL_URL_KEY)) {
|
if (entity.contains(MATERIAL_URL_KEY)) {
|
||||||
addMaterialBaker(MATERIAL_URL_KEY, entity[MATERIAL_URL_KEY].toString(), true, *it);
|
addMaterialBaker(MATERIAL_URL_KEY, entity[MATERIAL_URL_KEY].toString(), true, *it);
|
||||||
}
|
}
|
||||||
|
// FIXME: Disabled for now because relative texture URLs are not supported for embedded materials in material entities
|
||||||
|
// We need to make texture URLs absolute in this particular case only, keeping in mind that FSTBaker also uses embedded materials
|
||||||
|
/*
|
||||||
if (entity.contains(MATERIAL_DATA_KEY)) {
|
if (entity.contains(MATERIAL_DATA_KEY)) {
|
||||||
addMaterialBaker(MATERIAL_DATA_KEY, entity[MATERIAL_DATA_KEY].toString(), false, *it);
|
addMaterialBaker(MATERIAL_DATA_KEY, entity[MATERIAL_DATA_KEY].toString(), false, *it);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue