Showing the changes to libraries/script-engine/src/ScriptValueUtils.cpp (1 of 53 files). Show all
Unified · Split
| @@ -806,8 +806,7 @@ void animationDetailsFromScriptValue(const ScriptValuePointer& object, Animation · 805 unmodified lines | |||
| 806 | } | 806 | } |
| 807 | 807 | ||
| 808 | ScriptValuePointer meshToScriptValue(ScriptEngine* engine, MeshProxy* const& in) { | 808 | ScriptValuePointer meshToScriptValue(ScriptEngine* engine, MeshProxy* const& in) { |
| 809 | return engine->newQObject(in, ScriptEngine::QtOwnership, | 809 | return engine->newQObject(in, ScriptEngine::QtOwnership); |
| 810 | ScriptEngine::ExcludeDeleteLater | ScriptEngine::ExcludeChildObjects); | ||
| 811 | } | 810 | } |
| 812 | 811 | ||
| 813 | void meshFromScriptValue(const ScriptValuePointer& value, MeshProxy*& out) { | 812 | void meshFromScriptValue(const ScriptValuePointer& value, MeshProxy*& out) { |