mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	
							parent
							
								
									4e9640b3ec
								
							
						
					
					
						commit
						3fa943fe23
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -499,7 +499,9 @@ Error GDScriptWorkspace::parse_local_script(const String &p_path) { | |||
| 
 | ||||
| String GDScriptWorkspace::get_file_path(const String &p_uri) const { | ||||
| 	String path = p_uri; | ||||
| 	path = path.replace(root_uri + "/", "res://"); | ||||
| 	path = path.replace("///", "//"); | ||||
| 	path = path.replace("%3A", ":"); | ||||
| 	path = path.replacen(root_uri + "/", "res://"); | ||||
| 	path = path.uri_decode(); | ||||
| 	return path; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lamia
						Lamia