From d936cc8b9eb470faa6b9d38982128806321028cc Mon Sep 17 00:00:00 2001 From: angel-721 Date: Sun, 16 Apr 2023 17:42:21 -0600 Subject: Rename internal root canvas group to start with underscore (cherry picked from commit e347d7d64d1a6f9fe9993b93f88f7af19cd784dd) --- scene/main/canvas_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') diff --git a/scene/main/canvas_item.cpp b/scene/main/canvas_item.cpp index 419e5d5c06..de76d3610d 100644 --- a/scene/main/canvas_item.cpp +++ b/scene/main/canvas_item.cpp @@ -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) { -- cgit v1.2.3