Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 40 files). Show all
Unified · Split
| @@ -118,6 +118,7 @@ void ScriptEngine::init() { · 117 unmodified lines | ||
| 118 | 118 | registerMetaTypes(&_engine); |
| 119 | 119 | qScriptRegisterMetaType(&_engine, ParticlePropertiesToScriptValue, ParticlePropertiesFromScriptValue); |
| 120 | 120 | qScriptRegisterMetaType(&_engine, ParticleIDtoScriptValue, ParticleIDfromScriptValue); |
| 121 | + qScriptRegisterSequenceMetaType<QVector<ParticleID> >(&_engine); | |
| 121 | 122 | |
| 122 | 123 | QScriptValue agentValue = _engine.newQObject(this); |
| 123 | 124 | _engine.globalObject().setProperty("Agent", agentValue); |