mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge branch 'master' of https://github.com/okamstudio/godot
This commit is contained in:
commit
63033aa646
75 changed files with 3541 additions and 504 deletions
|
|
@ -5219,7 +5219,6 @@ void VisualServerRaster::_light_instance_update_lispsm_shadow(Instance *p_light,
|
|||
|
||||
|
||||
AABB proj_space_aabb;
|
||||
float max_d,min_d;
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -6824,7 +6823,11 @@ void VisualServerRaster::_render_canvas_item(CanvasItem *p_canvas_item,const Mat
|
|||
copymem(child_items,ci->child_items.ptr(),child_item_count*sizeof(CanvasItem*));
|
||||
|
||||
if (ci->clip) {
|
||||
ci->final_clip_rect=global_rect;
|
||||
if (p_canvas_clip != NULL) {
|
||||
ci->final_clip_rect=p_canvas_clip->final_clip_rect.clip(global_rect);
|
||||
} else {
|
||||
ci->final_clip_rect=global_rect;
|
||||
}
|
||||
ci->final_clip_owner=ci;
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue