mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:29:03 +02:00
cleanup whitespace
This commit is contained in:
parent
45c73439eb
commit
24b1f3ddbc
1 changed files with 8 additions and 11 deletions
|
@ -78,7 +78,6 @@ void FBXReader::consolidateFBXMaterials(const QVariantHash& mapping) {
|
||||||
QJsonDocument materialMapDocument = QJsonDocument::fromJson(materialMapString.toUtf8());
|
QJsonDocument materialMapDocument = QJsonDocument::fromJson(materialMapString.toUtf8());
|
||||||
QJsonObject materialMap = materialMapDocument.object();
|
QJsonObject materialMap = materialMapDocument.object();
|
||||||
|
|
||||||
// foreach (const QString& materialID, materials) {
|
|
||||||
for (QHash<QString, FBXMaterial>::iterator it = _fbxMaterials.begin(); it != _fbxMaterials.end(); it++) {
|
for (QHash<QString, FBXMaterial>::iterator it = _fbxMaterials.begin(); it != _fbxMaterials.end(); it++) {
|
||||||
FBXMaterial& material = (*it);
|
FBXMaterial& material = (*it);
|
||||||
|
|
||||||
|
@ -127,8 +126,6 @@ void FBXReader::consolidateFBXMaterials(const QVariantHash& mapping) {
|
||||||
detectDifferentUVs |= (transparentTexture.texcoordSet != 0) || (!transparentTexture.transform.isIdentity());
|
detectDifferentUVs |= (transparentTexture.texcoordSet != 0) || (!transparentTexture.transform.isIdentity());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FBXTexture normalTexture;
|
FBXTexture normalTexture;
|
||||||
QString bumpTextureID = bumpTextures.value(material.materialID);
|
QString bumpTextureID = bumpTextures.value(material.materialID);
|
||||||
QString normalTextureID = normalTextures.value(material.materialID);
|
QString normalTextureID = normalTextures.value(material.materialID);
|
||||||
|
|
Loading…
Reference in a new issue