diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-07 09:48:59 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-07 18:02:24 +0000 |
commit | d9f2f794878dec73d71d9f902cdb06adf58d55b6 (patch) | |
tree | 3a3c49e0670a593f581e3cf73869a20fdbcf50af /tools | |
parent | f0fa18693ade6edf2f7f6c58aa10b6fa60607733 (diff) |
qgltf: Do not output the unused, dummy light block
Change-Id: Ie6de66a4150a1ebc8a4a6b555618282b7e756658
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qgltf/qgltf.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/qgltf/qgltf.cpp b/tools/qgltf/qgltf.cpp index 17dd4a89f..02de0224b 100644 --- a/tools/qgltf/qgltf.cpp +++ b/tools/qgltf/qgltf.cpp @@ -2413,16 +2413,6 @@ void GltfExporter::save(const QString &inputFilename) } m_obj["samplers"] = samplers; - // Just a dummy light, never referenced. - QJsonObject lights; - QJsonObject light; - QJsonObject pointLight; - pointLight["color"] = col2jsvec(QVector<float>() << 1 << 1 << 1); - light["point"] = pointLight; - light["type"] = QStringLiteral("point"); - lights["light_1"] = light; - m_obj["lights"] = lights; - exportTechniques(m_obj, basename); m_doc.setObject(m_obj); |