summaryrefslogtreecommitdiff
path: root/scene/main/canvas_layer.cpp
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-04-01 21:18:16 +0200
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-11-02 21:45:00 +0100
commit022d24a9aef8aabd91dbef7fa6b01687748f78b6 (patch)
treec567dde5ea66db5065b44ec3db1ff60e0e46cf51 /scene/main/canvas_layer.cpp
parent754552b34d3523a76656940145bd37328536292d (diff)
Fix Viewport root order after Node2D raise
Diffstat (limited to 'scene/main/canvas_layer.cpp')
-rw-r--r--scene/main/canvas_layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/canvas_layer.cpp b/scene/main/canvas_layer.cpp
index be5788739b..5fde18721a 100644
--- a/scene/main/canvas_layer.cpp
+++ b/scene/main/canvas_layer.cpp
@@ -38,7 +38,7 @@ void CanvasLayer::set_layer(int p_xform) {
layer = p_xform;
if (viewport.is_valid()) {
RenderingServer::get_singleton()->viewport_set_canvas_stacking(viewport, canvas, layer, get_index());
- vp->_gui_set_root_order_dirty();
+ vp->gui_set_root_order_dirty();
}
}