mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Rename empty() to is_empty()
This commit is contained in:
		
							parent
							
								
									886571e0fc
								
							
						
					
					
						commit
						5b937d493f
					
				
					 289 changed files with 898 additions and 898 deletions
				
			
		|  | @ -128,7 +128,7 @@ Vector<Ref<Texture2D>> EditorInterface::make_mesh_previews(const Vector<Ref<Mesh | |||
| 		Main::iteration(); | ||||
| 		Main::iteration(); | ||||
| 		Ref<Image> img = RS::get_singleton()->texture_2d_get(viewport_texture); | ||||
| 		ERR_CONTINUE(!img.is_valid() || img->empty()); | ||||
| 		ERR_CONTINUE(!img.is_valid() || img->is_empty()); | ||||
| 		Ref<ImageTexture> it(memnew(ImageTexture)); | ||||
| 		it->create_from_image(img); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Marcel Admiraal
						Marcel Admiraal