Rename internal root canvas group to start with underscore

This commit is contained in:
angel-721 2023-04-16 17:42:21 -06:00
parent a7276f1ce0
commit e347d7d64d
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ void CanvasItem::_enter_canvas() {
RenderingServer::get_singleton()->canvas_item_set_parent(canvas_item, canvas); RenderingServer::get_singleton()->canvas_item_set_parent(canvas_item, canvas);
RenderingServer::get_singleton()->canvas_item_set_visibility_layer(canvas_item, visibility_layer); 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); add_to_group(canvas_group);
if (canvas_layer) { if (canvas_layer) {