mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
Fix transform of Y-sorted branch-root
This commit is contained in:
parent
4728ff30c0
commit
983cdb2f54
@ -332,7 +332,7 @@ void RendererCanvasCull::_cull_canvas_item(Item *p_canvas_item, const Transform2
|
||||
child_item_count = ci->ysort_children_count + 1;
|
||||
child_items = (Item **)alloca(child_item_count * sizeof(Item *));
|
||||
|
||||
ci->ysort_xform = final_xform.affine_inverse();
|
||||
ci->ysort_xform = ci->xform_curr.affine_inverse();
|
||||
ci->ysort_pos = Vector2();
|
||||
ci->ysort_modulate = Color(1, 1, 1, 1);
|
||||
ci->ysort_index = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user