Fix Y-sort modulate for top-most Y-sorted CanvasItem
This commit is contained in:
parent
54ab17eb21
commit
bbb2a889d8
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ void RendererCanvasCull::_cull_canvas_item(Item *p_canvas_item, const Transform2
|
|||
int i = 1;
|
||||
_collect_ysort_children(ci, Transform2D(), p_material_owner, Color(1, 1, 1, 1), child_items, i, p_z);
|
||||
ci->ysort_xform = ci->xform.affine_inverse();
|
||||
ci->ysort_modulate = Color(1, 1, 1, 1);
|
||||
|
||||
SortArray<Item *, ItemPtrSort> sorter;
|
||||
sorter.sort(child_items, child_item_count);
|
||||
|
|
Loading…
Reference in a new issue