Make the performance reporting update frequency customizable
The default update frequency has been changed from 1000ms to 250ms.
This commit is contained in:
parent
942e0c4832
commit
228ae60a63
6 changed files with 21 additions and 8 deletions
|
|
@ -29,6 +29,7 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "script_language.h"
|
||||
#include "project_settings.h"
|
||||
|
||||
ScriptLanguage *ScriptServer::_languages[MAX_LANGUAGES];
|
||||
int ScriptServer::_language_count = 0;
|
||||
|
|
@ -283,6 +284,7 @@ ScriptDebugger::ScriptDebugger() {
|
|||
lines_left = -1;
|
||||
depth = -1;
|
||||
break_lang = NULL;
|
||||
update_frequency = GLOBAL_GET("debug/settings/performance/update_frequency_msec");
|
||||
}
|
||||
|
||||
bool PlaceHolderScriptInstance::set(const StringName &p_name, const Variant &p_value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue