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
974974 return; // bail early - avoid setting state in init(), as evaluate() will bail too
975975 }
976976
977+ scriptInfoMessage("Script Engine starting:" + getFilename());
978+
977979 if (!_isInitialized) {
978980 init();
979981 }