mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	apply selected texture filter when editing UV
This commit is contained in:
		
							parent
							
								
									a83eb16fba
								
							
						
					
					
						commit
						0c75d5d70c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -298,6 +298,8 @@ void Polygon2DEditor::_menu_option(int p_option) { | |||
| 				return; | ||||
| 			} | ||||
| 
 | ||||
| 			uv_edit_draw->set_texture_filter(node->get_texture_filter_in_tree()); | ||||
| 
 | ||||
| 			Vector<Vector2> points = node->get_polygon(); | ||||
| 			Vector<Vector2> uvs = node->get_uv(); | ||||
| 			if (uvs.size() != points.size()) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alex Drozd
						Alex Drozd