diff options
Diffstat (limited to 'tools/qgltf/qgltf.cpp')
-rw-r--r-- | tools/qgltf/qgltf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qgltf/qgltf.cpp b/tools/qgltf/qgltf.cpp index 98b2915d8..953bbe23f 100644 --- a/tools/qgltf/qgltf.cpp +++ b/tools/qgltf/qgltf.cpp @@ -1847,7 +1847,7 @@ void GltfExporter::exportMaterials(QJsonObject &materials, QHash<QString, QStrin if (vals.contains(it.key())) continue; // alpha is supported for the diffuse color. < 1 will enable blending. - const bool alpha = it.key() == QStringLiteral("diffuse"); + const bool alpha = it.key() == QByteArrayLiteral("diffuse"); if (alpha && it.value()[3] < 1.0f) opaque = false; vals[it.key()] = col2jsvec(it.value(), alpha); |