summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorangel-721 <angelvelasquez2002@gmail.com>2023-04-16 17:42:21 -0600
committerYuri Sizov <yuris@humnom.net>2023-04-24 17:03:57 +0200
commitd936cc8b9eb470faa6b9d38982128806321028cc (patch)
tree0c5edcea5d30e1d1fbbf1b2925962875de091f08 /scene
parent4a140b61f17bbe742eb280be305366f7c597cd05 (diff)
Rename internal root canvas group to start with underscore
(cherry picked from commit e347d7d64d1a6f9fe9993b93f88f7af19cd784dd)
Diffstat (limited to 'scene')
-rw-r--r--scene/main/canvas_item.cpp2
1 files changed, 1 insertions, 1 deletions
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) {