mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-12 02:52:10 +02:00
Merge pull request #15391 from sabrina-shanman/hfm_disable-embedded-materials_master
(master) Disable baking of embedded material textures in material entities
This commit is contained in:
commit
db9df76337
1 changed files with 4 additions and 0 deletions
|
@ -412,9 +412,13 @@ void DomainBaker::enumerateEntities() {
|
|||
if (entity.contains(MATERIAL_URL_KEY)) {
|
||||
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)) {
|
||||
addMaterialBaker(MATERIAL_DATA_KEY, entity[MATERIAL_DATA_KEY].toString(), false, *it);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue