History

Fix broken eventBridge on tablet after Reload All Scripts.

The main issue here was the "webEventReceived" connection between the OffscreenQMLSurface and the TabletProxy object. For whatever reason, if this is not a direct Signal to Slot connection, the webEventReceived event does not propagate.

Anthony J. Thibault committed 9 years ago

Commit 8ff457a1 parent 76ef2b56 files · +89 −47Browse files

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

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+2−0
@@ -974,6 +974,8 @@ void ScriptEngine::run() { · 973 unmodified lines
974 return; // bail early - avoid setting state in init(), as evaluate() will bail too974 return; // bail early - avoid setting state in init(), as evaluate() will bail too
975 }975 }
976 976
977 scriptInfoMessage("Script Engine starting:" + getFilename());
978
977 if (!_isInitialized) {979 if (!_isInitialized) {
978 init();980 init();
979 }981 }