-Resolved light clipping issue due to wrong global rect cache, fixes #1722
This commit is contained in:
parent
52e2f4606f
commit
ec00cd5c41
1 changed files with 1 additions and 0 deletions
|
@ -6839,6 +6839,7 @@ void VisualServerRaster::_render_canvas_item(CanvasItem *p_canvas_item,const Mat
|
|||
ci->final_transform=xform;
|
||||
ci->final_opacity=opacity * ci->self_opacity;
|
||||
ci->global_rect_cache=global_rect;
|
||||
ci->global_rect_cache.pos-=p_clip_rect.pos;
|
||||
|
||||
int zidx = p_z-CANVAS_ITEM_Z_MIN;
|
||||
|
||||
|
|
Loading…
Reference in a new issue