2
0
Fork 0

-Resolved light clipping issue due to wrong global rect cache, fixes #1722

2.0
Juan Linietsky 2015-04-25 10:32:34 +07:00
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;