mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:07:58 +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 diffuseTextureID = diffuseTextures.value(material.materialID);
|
||||||
QString diffuseFactorTextureID = diffuseFactorTextures.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 (!diffuseFactorTextureID.isNull() || !diffuseTextureID.isNull()) {
|
||||||
// If both factor and color are specified, the texture bound to DiffuseColor wins
|
|
||||||
if (!diffuseFactorTextureID.isNull() && diffuseTextureID.isNull()) {
|
if (!diffuseFactorTextureID.isNull() && diffuseTextureID.isNull()) {
|
||||||
diffuseTextureID = diffuseFactorTextureID;
|
diffuseTextureID = diffuseFactorTextureID;
|
||||||
// If the diffuseTextureID comes from the Texture bound to DiffuseFactor, we know it s exported from maya
|
// If the diffuseTextureID comes from the Texture bound to DiffuseFactor, we know it s exported from maya
|
||||||
|
|
Loading…
Reference in a new issue