Skip to content

Commit

Permalink
Merge pull request #76149 from angel-721/rename-root-canvas
Browse files Browse the repository at this point in the history
Rename internal root canvas group to start with underscore
  • Loading branch information
YuriSizov authored Apr 17, 2023
2 parents 8541dd6 + e347d7d commit 8042978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/main/canvas_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,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) {
Expand Down

0 comments on commit 8042978

Please sign in to comment.