Rename internal root canvas group to start with underscore

(cherry picked from commit e347d7d64d)
This commit is contained in:
angel-721 2023-04-16 17:42:21 -06:00 committed by Yuri Sizov
parent 4a140b61f1
commit d936cc8b9e

View File

@ -219,7 +219,7 @@ void CanvasItem::_enter_canvas() {
RenderingServer::get_singleton()->canvas_item_set_parent(canvas_item, canvas);
RenderingServer::get_singleton()->canvas_item_set_visibility_layer(canvas_item, visibility_layer);
canvas_group = "root_canvas" + itos(canvas.get_id());
canvas_group = "_root_canvas" + itos(canvas.get_id());
add_to_group(canvas_group);
if (canvas_layer) {