mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
e2c96dc711
commit
211dd2fb53
11 changed files with 122 additions and 25 deletions
|
|
@ -2030,6 +2030,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