History

shifting classes around and adding static initializers to resolve dependencies on scripting-engine (and drop dependencies from scripting-engine)

Heather Anderson committed 5 years ago

Commit 665ea521 parent 1f4f45853 files · +457 −404Browse files

Showing the changes to libraries/script-engine/src/ScriptValueUtils.cpp (1 of 53 files). Show all

Unified · Split

libraries/script-engine/src/ScriptValueUtils.cpp+1−2
@@ -806,8 +806,7 @@ void animationDetailsFromScriptValue(const ScriptValuePointer& object, Animation · 805 unmodified lines
806806 }
807807
808808 ScriptValuePointer meshToScriptValue(ScriptEngine* engine, MeshProxy* const& in) {
809− return engine->newQObject(in, ScriptEngine::QtOwnership,
810− ScriptEngine::ExcludeDeleteLater | ScriptEngine::ExcludeChildObjects);
809+ return engine->newQObject(in, ScriptEngine::QtOwnership);
811810 }
812811
813812 void meshFromScriptValue(const ScriptValuePointer& value, MeshProxy*& out) {