You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Make the performance reporting update frequency customizable
The default update frequency has been changed from 1000ms to 250ms.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user