Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 14 files). Show all
Unified · Split
| @@ -379,8 +379,6 @@ QScriptValue variantMapToQScriptValue(QVariantMap& variantMap, QScriptEngine& sc · 378 unmodified lines | |||
| 379 | QString key = iter.key(); | 379 | QString key = iter.key(); |
| 380 | QVariant qValue = iter.value(); | 380 | QVariant qValue = iter.value(); |
| 381 | 381 | ||
| 382 | qDebug() << key << "=" << qValue; | ||
| 383 | |||
| 384 | switch(qValue.type()) { | 382 | switch(qValue.type()) { |
| 385 | case QVariant::Bool: | 383 | case QVariant::Bool: |
| 386 | scriptValue.setProperty(key, qValue.toBool()); | 384 | scriptValue.setProperty(key, qValue.toBool()); |