mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:37:20 +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:
|
case QMetaMethod::Constructor:
|
||||||
continue;
|
continue;
|
||||||
case QMetaMethod::Signal:
|
case QMetaMethod::Signal:
|
||||||
|
if (szName == "destroyed") {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (szName == "objectNameChanged") {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
isSignal = true;
|
isSignal = true;
|
||||||
break;
|
break;
|
||||||
case QMetaMethod::Slot:
|
case QMetaMethod::Slot:
|
||||||
|
|
|
@ -39,8 +39,8 @@ var DEFAULT_SCRIPTS_COMBINED = [
|
||||||
"system/onEscape.js",
|
"system/onEscape.js",
|
||||||
"system/onFirstRun.js",
|
"system/onFirstRun.js",
|
||||||
"system/appreciate/appreciate_app.js",
|
"system/appreciate/appreciate_app.js",
|
||||||
"system/places/places.js",
|
"system/places/places.js"
|
||||||
"developer/debugging/scriptMemoryReport.js"
|
//"developer/debugging/scriptMemoryReport.js"
|
||||||
];
|
];
|
||||||
var DEFAULT_SCRIPTS_SEPARATE = [
|
var DEFAULT_SCRIPTS_SEPARATE = [
|
||||||
"system/controllers/controllerScripts.js",
|
"system/controllers/controllerScripts.js",
|
||||||
|
|
|
@ -41,8 +41,7 @@ var CONTOLLER_SCRIPTS = [
|
||||||
"controllerModules/trackedHandTablet.js"
|
"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";
|
var DEBUG_MENU_ITEM = "Debug defaultScripts.js";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue