mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Rename Image's get_rect to get_region
				
					
				
			Also renames its parameter to from "rect" to "region".
This commit is contained in:
		
							parent
							
								
									e6751549cf
								
							
						
					
					
						commit
						ebf86c96e9
					
				
					 7 changed files with 12 additions and 12 deletions
				
			
		|  | @ -93,7 +93,7 @@ Ref<Texture2D> EditorTexturePreviewPlugin::generate(const Ref<Resource> &p_from, | |||
| 			return Ref<Texture2D>(); | ||||
| 		} | ||||
| 
 | ||||
| 		img = atlas->get_rect(atex->get_region()); | ||||
| 		img = atlas->get_region(atex->get_region()); | ||||
| 	} else { | ||||
| 		Ref<Texture2D> tex = p_from; | ||||
| 		if (tex.is_valid()) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Micky
						Micky