mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 22:03:23 +02:00
Hide QObject signals from script engine and switch off script memory reporting
This commit is contained in:
parent
8c9a88b2d9
commit
da9b9f76af
3 changed files with 9 additions and 4 deletions
|
@ -280,6 +280,12 @@ void ScriptObjectV8Proxy::investigate() {
|
|||
case QMetaMethod::Constructor:
|
||||
continue;
|
||||
case QMetaMethod::Signal:
|
||||
if (szName == "destroyed") {
|
||||
continue;
|
||||
}
|
||||
if (szName == "objectNameChanged") {
|
||||
continue;
|
||||
}
|
||||
isSignal = true;
|
||||
break;
|
||||
case QMetaMethod::Slot:
|
||||
|
|
|
@ -39,8 +39,8 @@ var DEFAULT_SCRIPTS_COMBINED = [
|
|||
"system/onEscape.js",
|
||||
"system/onFirstRun.js",
|
||||
"system/appreciate/appreciate_app.js",
|
||||
"system/places/places.js",
|
||||
"developer/debugging/scriptMemoryReport.js"
|
||||
"system/places/places.js"
|
||||
//"developer/debugging/scriptMemoryReport.js"
|
||||
];
|
||||
var DEFAULT_SCRIPTS_SEPARATE = [
|
||||
"system/controllers/controllerScripts.js",
|
||||
|
|
|
@ -41,8 +41,7 @@ var CONTOLLER_SCRIPTS = [
|
|||
"controllerModules/trackedHandTablet.js"
|
||||
];
|
||||
|
||||
Script.include("../../developer/debugging/scriptMemoryReport.js");
|
||||
//Script.include("developer/debugging/scriptMemoryReport.js");
|
||||
//Script.include("../../developer/debugging/scriptMemoryReport.js");
|
||||
|
||||
var DEBUG_MENU_ITEM = "Debug defaultScripts.js";
|
||||
|
||||
|
|
Loading…
Reference in a new issue