mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Transform mesh's AABB to skeleton's space when calculate mesh's bounds.
(cherry picked from commit 27f71c4e78)
			
			
This commit is contained in:
		
							parent
							
								
									0224a60b43
								
							
						
					
					
						commit
						045b1d5990
					
				
					 11 changed files with 122 additions and 25 deletions
				
			
		|  | @ -2041,6 +2041,12 @@ void RendererCanvasCull::update_visibility_notifiers() { | |||
| 	} | ||||
| } | ||||
| 
 | ||||
| Rect2 RendererCanvasCull::_debug_canvas_item_get_rect(RID p_item) { | ||||
| 	Item *canvas_item = canvas_item_owner.get_or_null(p_item); | ||||
| 	ERR_FAIL_NULL_V(canvas_item, Rect2()); | ||||
| 	return canvas_item->get_rect(); | ||||
| } | ||||
| 
 | ||||
| bool RendererCanvasCull::free(RID p_rid) { | ||||
| 	if (canvas_owner.owns(p_rid)) { | ||||
| 		Canvas *canvas = canvas_owner.get_or_null(p_rid); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ShirenY
						ShirenY