mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
		
							parent
							
								
									28a4eec9a7
								
							
						
					
					
						commit
						e48c5daddf
					
				
					 113 changed files with 528 additions and 528 deletions
				
			
		|  | @ -85,7 +85,7 @@ void EditorProfiler::add_frame_metric(const Metric &p_metric, bool p_final) { | |||
| } | ||||
| 
 | ||||
| void EditorProfiler::clear() { | ||||
| 	int metric_size = EditorSettings::get_singleton()->get("debugger/profiler_frame_history_size"); | ||||
| 	int metric_size = EDITOR_GET("debugger/profiler_frame_history_size"); | ||||
| 	metric_size = CLAMP(metric_size, 60, 10000); | ||||
| 	frame_metrics.clear(); | ||||
| 	frame_metrics.resize(metric_size); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi