mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
IMproving th ecomment
This commit is contained in:
parent
d1135c4a37
commit
f82bd441a9
1 changed files with 1 additions and 1 deletions
|
@ -79,8 +79,8 @@ void FBXReader::consolidateFBXMaterials() {
|
|||
QString diffuseTextureID = diffuseTextures.value(material.materialID);
|
||||
QString diffuseFactorTextureID = diffuseFactorTextures.value(material.materialID);
|
||||
|
||||
// If both factor and color textures are specified, the texture bound to DiffuseColor wins
|
||||
if (!diffuseFactorTextureID.isNull() || !diffuseTextureID.isNull()) {
|
||||
// If both factor and color are specified, the texture bound to DiffuseColor wins
|
||||
if (!diffuseFactorTextureID.isNull() && diffuseTextureID.isNull()) {
|
||||
diffuseTextureID = diffuseFactorTextureID;
|
||||
// If the diffuseTextureID comes from the Texture bound to DiffuseFactor, we know it s exported from maya
|
||||
|
|
Loading…
Reference in a new issue